<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwspinlock/hwspinlock_core.c, branch linux-3.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.1.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-11-11T17:43:46Z</updated>
<entry>
<title>hwspinlock/core: use a mutex to protect the radix tree</title>
<updated>2011-11-11T17:43:46Z</updated>
<author>
<name>Juan Gutierrez</name>
</author>
<published>2011-09-06T06:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=798e0d0e7d11915656a2fbee2bce8d79fb27ccb5'/>
<id>urn:sha1:798e0d0e7d11915656a2fbee2bce8d79fb27ccb5</id>
<content type='text'>
commit 93b465c2e186d96fb90012ba0f9372eb9952e732 upstream.

Since we're using non-atomic radix tree allocations, we
should be protecting the tree using a mutex and not a
spinlock.

Non-atomic allocations and process context locking is good enough,
as the tree is manipulated only when locks are registered/
unregistered/requested/freed.

The locks themselves are still protected by spinlocks of course,
and mutexes are not involved in the locking/unlocking paths.

Signed-off-by: Juan Gutierrez &lt;jgutierrez@ti.com&gt;
[ohad@wizery.com: rewrite the commit log, #include mutex.h, add minor
commentary]
[ohad@wizery.com: update register/unregister parts in hwspinlock.txt]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers: hwspinlock: add framework</title>
<updated>2011-02-17T17:52:03Z</updated>
<author>
<name>Ohad Ben-Cohen</name>
</author>
<published>2011-02-17T17:52:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd9a4c7df256cee4e9f6a4b56baa3b89d63f0f1e'/>
<id>urn:sha1:bd9a4c7df256cee4e9f6a4b56baa3b89d63f0f1e</id>
<content type='text'>
Add a platform-independent hwspinlock framework.

Hardware spinlock devices are needed, e.g., in order to access data
that is shared between remote processors, that otherwise have no
alternative mechanism to accomplish synchronization and mutual exclusion
operations.

Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
Cc: Hari Kanigeri &lt;h-kanigeri2@ti.com&gt;
Cc: Benoit Cousson &lt;b-cousson@ti.com&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Cc: Paul Walmsley &lt;paul@pwsan.com&gt;
Cc: Russell King &lt;linux@arm.linux.org.uk&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
</content>
</entry>
</feed>
