<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/drivers/hwspinlock, branch dev-4.13</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2017-05-17T17:52:52+00:00</updated>
<entry>
<title>hwspinlock: sprd: Add hardware spinlock driver</title>
<updated>2017-05-17T17:52:52+00:00</updated>
<author>
<name>Baolin Wang</name>
<email>baolin.wang@spreadtrum.com</email>
</author>
<published>2017-05-17T05:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=d8c8bbbb1aba547b6c0d534f87fc68aa338658fc'/>
<id>urn:sha1:d8c8bbbb1aba547b6c0d534f87fc68aa338658fc</id>
<content type='text'>
The Spreadtrum hardware spinlock device can provide hardware assistance
for synchronization between the multiple subsystems.

Signed-off-by: Baolin Wang &lt;baolin.wang@spreadtrum.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>Make HWSPINLOCK a menuconfig to ease disabling</title>
<updated>2017-05-17T17:32:14+00:00</updated>
<author>
<name>Vincent Legoll</name>
<email>vincent.legoll@gmail.com</email>
</author>
<published>2017-04-11T14:21:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=35fc8a07d7f921333311662590765af5645fd3e4'/>
<id>urn:sha1:35fc8a07d7f921333311662590765af5645fd3e4</id>
<content type='text'>
So that there's no need to get into the submenu to disable all related config
entries.

Signed-off-by: Vincent Legoll &lt;vincent.legoll@gmail.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: qcom_hwspinlock: add missing of_node_put after calling of_parse_phandle</title>
<updated>2016-07-06T19:20:34+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@nxp.com</email>
</author>
<published>2016-07-05T02:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=4d41c8cb970cb719a7008a68ad66cf1c1ecc82ad'/>
<id>urn:sha1:4d41c8cb970cb719a7008a68ad66cf1c1ecc82ad</id>
<content type='text'>
of_node_put needs to be called when the device node which is got
from of_parse_phandle has finished using.

Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>drivers/hwspinlock: use correct radix tree API</title>
<updated>2016-05-21T00:58:30+00:00</updated>
<author>
<name>Matthew Wilcox</name>
<email>willy@linux.intel.com</email>
</author>
<published>2016-05-21T00:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=b76ba4af4ddd6a06f7f65769e7be1bc56556cdf5'/>
<id>urn:sha1:b76ba4af4ddd6a06f7f65769e7be1bc56556cdf5</id>
<content type='text'>
radix_tree_is_indirect_ptr() is an internal API.  The correct call to
use is radix_tree_deref_retry() which has the appropriate unlikely()
annotation.

Fixes: c6400ba7e13a ("drivers/hwspinlock: fix race between radix tree insertion and lookup")
Signed-off-by: Matthew Wilcox &lt;willy@linux.intel.com&gt;
Cc: Konstantin Khlebnikov &lt;koct9i@gmail.com&gt;
Cc: Kirill Shutemov &lt;kirill.shutemov@linux.intel.com&gt;
Cc: Jan Kara &lt;jack@suse.com&gt;
Cc: Neil Brown &lt;neilb@suse.de&gt;
Cc: Ross Zwisler &lt;ross.zwisler@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/hwspinlock: fix race between radix tree insertion and lookup</title>
<updated>2016-02-03T16:28:43+00:00</updated>
<author>
<name>Matthew Wilcox</name>
<email>willy@linux.intel.com</email>
</author>
<published>2016-02-03T00:57:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=c6400ba7e13a41539342f1b6e1f9e78419cb0148'/>
<id>urn:sha1:c6400ba7e13a41539342f1b6e1f9e78419cb0148</id>
<content type='text'>
of_hwspin_lock_get_id() is protected by the RCU lock, which means that
insertions can occur simultaneously with the lookup.  If the radix tree
transitions from a height of 0, we can see a slot with the indirect_ptr
bit set, which will cause us to at least read random memory, and could
cause other havoc.

Fix this by using the newly introduced radix_tree_iter_retry().

Signed-off-by: Matthew Wilcox &lt;willy@linux.intel.com&gt;
Cc: Hugh Dickins &lt;hughd@google.com&gt;
Cc: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
Cc: Konstantin Khlebnikov &lt;khlebnikov@openvz.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: qcom: Correct msb in regmap_field</title>
<updated>2015-07-01T13:15:05+00:00</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@sonymobile.com</email>
</author>
<published>2015-06-26T21:47:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=bd5717a4632cdecafe82d03de7dcb3b1876e2828'/>
<id>urn:sha1:bd5717a4632cdecafe82d03de7dcb3b1876e2828</id>
<content type='text'>
msb of the regmap_field was mistakenly given the value 32, to set all bits
in the regmap update mask; although incorrect this worked until 921cc294,
where the mask calculation was corrected.

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
</entry>
<entry>
<title>hwspinlock: add a CSR atlas7 driver</title>
<updated>2015-06-12T07:44:06+00:00</updated>
<author>
<name>Wei Chen</name>
<email>wei.chen@csr.com</email>
</author>
<published>2015-05-26T08:28:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=cc16d664e21ef640faaf51e9952384cf90b92d9f'/>
<id>urn:sha1:cc16d664e21ef640faaf51e9952384cf90b92d9f</id>
<content type='text'>
Add hwspinlock support for the CSR atlas7 SoC.

The Hardware Spinlock device on atlas7 provides hardware assistance
for synchronization between the multiple processors in the system
(dual Cortex-A7, CAN bus Cortex-M3 and audio DSP).

Reviewed-by: Suman Anna &lt;s-anna@ti.com&gt;
Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Signed-off-by: Wei Chen &lt;wei.chen@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
</entry>
<entry>
<title>hwspinlock: qcom: Add support for Qualcomm HW Mutex block</title>
<updated>2015-05-02T07:19:17+00:00</updated>
<author>
<name>Bjorn Andersson</name>
<email>bjorn.andersson@sonymobile.com</email>
</author>
<published>2015-03-24T17:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=19a0f61224d2d91860fa8291ab63cb104ee86bdd'/>
<id>urn:sha1:19a0f61224d2d91860fa8291ab63cb104ee86bdd</id>
<content type='text'>
Add driver for Qualcomm Hardware Mutex block found in many Qualcomm
SoCs.

Based on initial effort by Kumar Gala &lt;galak@codeaurora.org&gt;

Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
Reviewed-by: Andy Gross &lt;agross@codeaurora.org&gt;
Reviewed-by: Jeffrey Hugo &lt;jhugo@codeaurora.org&gt;
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
</entry>
<entry>
<title>hwspinlock/omap: add support for dt nodes</title>
<updated>2015-05-02T07:05:10+00:00</updated>
<author>
<name>Suman Anna</name>
<email>s-anna@ti.com</email>
</author>
<published>2015-03-05T02:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=65bd4341d61678494ea14994d0d7df73644ca014'/>
<id>urn:sha1:65bd4341d61678494ea14994d0d7df73644ca014</id>
<content type='text'>
HwSpinlock IP is present only on OMAP4 and other newer SoCs,
which are all device-tree boot only. This patch adds the
base support for parsing the DT nodes, and removes the code
dealing with the traditional platform device instantiation.

Signed-off-by: Suman Anna &lt;s-anna@ti.com&gt;
[tony@atomide.com: ack for legacy file removal]
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
[comment on the imperfect always-zero base_id]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
</entry>
<entry>
<title>hwspinlock/core: add device tree support</title>
<updated>2015-05-02T06:54:30+00:00</updated>
<author>
<name>Suman Anna</name>
<email>s-anna@ti.com</email>
</author>
<published>2015-03-05T02:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=fb7737e949e31d8a71acee6bbb670f32dbd2a2c0'/>
<id>urn:sha1:fb7737e949e31d8a71acee6bbb670f32dbd2a2c0</id>
<content type='text'>
This patch adds a new OF-friendly API of_hwspin_lock_get_id()
for hwspinlock clients to use/request locks from a hwspinlock
device instantiated through a device-tree blob. This new API
can be used by hwspinlock clients to get the id for a specific
lock using the phandle + args specifier, so that it can be
requested using the available hwspin_lock_request_specific()
API.

Signed-off-by: Suman Anna &lt;s-anna@ti.com&gt;
Reviewed-by: Bjorn Andersson &lt;bjorn.andersson@sonymobile.com&gt;
[small comment clarification]
Signed-off-by: Ohad Ben-Cohen &lt;ohad@wizery.com&gt;
</content>
</entry>
</feed>
