<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/hwspinlock, branch v5.4</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.4</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.4'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2019-06-30T04:08:14Z</updated>
<entry>
<title>hwspinlock: add the 'in_atomic' API</title>
<updated>2019-06-30T04:08:14Z</updated>
<author>
<name>Fabien Dessenne</name>
<email>fabien.dessenne@st.com</email>
</author>
<published>2019-03-07T15:58:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=360aa640a59f269b784848c0b2d6d462952750d9'/>
<id>urn:sha1:360aa640a59f269b784848c0b2d6d462952750d9</id>
<content type='text'>
Add the 'in_atomic' mode which can be called from an atomic context.
This mode relies on the existing 'raw' mode (no lock, no preemption/irq
disabling) with the difference that the timeout is not based on jiffies
(jiffies won't increase when irq are disabled) but handled with
busy-waiting udelay() calls.

Signed-off-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: stm32: implement the relax() ops</title>
<updated>2019-06-30T04:04:24Z</updated>
<author>
<name>Fabien Dessenne</name>
<email>fabien.dessenne@st.com</email>
</author>
<published>2019-03-07T15:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5cd69f13deef804d113d31c5c744396b1a1b8a9a'/>
<id>urn:sha1:5cd69f13deef804d113d31c5c744396b1a1b8a9a</id>
<content type='text'>
Implement this optional ops, called by hwspinlock core while spinning on
a lock, between two successive invocations of trylock().

Reviewed-by: Benjamin Gaignard &lt;benjamin.gaignard@st.com&gt;
Signed-off-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: ignore disabled device</title>
<updated>2019-06-29T19:05:06Z</updated>
<author>
<name>Fabien Dessenne</name>
<email>fabien.dessenne@st.com</email>
</author>
<published>2019-03-08T16:53:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fbd7330c9fd8ef00bf231ec7e57b0f05384f462d'/>
<id>urn:sha1:fbd7330c9fd8ef00bf231ec7e57b0f05384f462d</id>
<content type='text'>
Do not wait for hwspinlock device registration if it is not available
for use.

Acked-by: Suman Anna &lt;s-anna@ti.com&gt;
Signed-off-by: Fabien Dessenne &lt;fabien.dessenne@st.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock/omap: Add a trace during probe</title>
<updated>2019-06-29T18:40:06Z</updated>
<author>
<name>Suman Anna</name>
<email>s-anna@ti.com</email>
</author>
<published>2019-05-31T02:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d4d98bba3ea58e80b9f500cbd98b38b98e8167f2'/>
<id>urn:sha1:d4d98bba3ea58e80b9f500cbd98b38b98e8167f2</id>
<content type='text'>
Add a debug level trace statement in the OMAP HwSpinlock driver
probe function to print the number of hwlocks on a successful
registration.

Signed-off-by: Suman Anna &lt;s-anna@ti.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock/omap: Add support for TI K3 SoCs</title>
<updated>2019-06-29T18:40:04Z</updated>
<author>
<name>Suman Anna</name>
<email>s-anna@ti.com</email>
</author>
<published>2019-05-31T02:13:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6fa154e282f9c86ff3e2f8df478f1df92881a6e2'/>
<id>urn:sha1:6fa154e282f9c86ff3e2f8df478f1df92881a6e2</id>
<content type='text'>
A HwSpinlock IP is also present on the newer TI K3 AM65x and J721E
family of SoCs within the Main NavSS sub-module. Reuse the existing
OMAP Hwspinlock driver to extend the support for this IP on K3 AM65x
SoCs as well. The IP has slightly different bit-fields in the
SYSCONFIG and SYSSTATUS registers.

Signed-off-by: Suman Anna &lt;s-anna@ti.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: fix return value check in stm32_hwspinlock_probe()</title>
<updated>2019-01-03T19:42:10Z</updated>
<author>
<name>Wei Yongjun</name>
<email>weiyongjun1@huawei.com</email>
</author>
<published>2019-01-03T07:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4d5a91fd1f42a821d14b92b082b8e71be9911ba5'/>
<id>urn:sha1:4d5a91fd1f42a821d14b92b082b8e71be9911ba5</id>
<content type='text'>
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: f24fcff1d267 ("hwspinlock: add STM32 hwspinlock device")
Acked-by: Benjamin Gaignard &lt;benjamin.gaignard@gmail.com&gt;
Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: add STM32 hwspinlock device</title>
<updated>2018-12-05T20:45:21Z</updated>
<author>
<name>Benjamin Gaignard</name>
<email>benjamin.gaignard@st.com</email>
</author>
<published>2018-11-14T09:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f24fcff1d267da08c4bbb3869e7f4b36ce916b76'/>
<id>urn:sha1:f24fcff1d267da08c4bbb3869e7f4b36ce916b76</id>
<content type='text'>
This patch adds support of hardware semaphores for stm32mp1 SoC.
The hardware block provides 32 semaphores.

Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@st.com&gt;
Signed-off-by: Benjamin Gaignard &lt;benjamin.gaignard@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: Fix incorrect return pointers</title>
<updated>2018-07-31T03:54:51Z</updated>
<author>
<name>Baolin Wang</name>
<email>baolin.wang@linaro.org</email>
</author>
<published>2018-06-28T02:32:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=ddb34f480d1b8051bc18e6ff22e93a6c9a33f94f'/>
<id>urn:sha1:ddb34f480d1b8051bc18e6ff22e93a6c9a33f94f</id>
<content type='text'>
The commit 4f1acd758b08 ("hwspinlock: Add devm_xxx() APIs to request/free
hwlock") introduces one bug, that will return one error pointer if failed
to request one hwlock, but we expect NULL pointer on error for consumers.
This patch will fix this issue.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: Fix one comment mistake</title>
<updated>2018-06-26T20:46:34Z</updated>
<author>
<name>Baolin Wang</name>
<email>baolin.wang@linaro.org</email>
</author>
<published>2018-06-22T08:09:02Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=38ce606533385e56b9216cab2e1128930652c315'/>
<id>urn:sha1:38ce606533385e56b9216cab2e1128930652c315</id>
<content type='text'>
Fix one comment mistake with correct function names.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
<entry>
<title>hwspinlock: Add devm_xxx() APIs to register/unregister one hwlock controller</title>
<updated>2018-06-26T20:46:23Z</updated>
<author>
<name>Baolin Wang</name>
<email>baolin.wang@linaro.org</email>
</author>
<published>2018-06-22T08:09:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c102780acdbc22e5f664cfaf760eaccffbd6c385'/>
<id>urn:sha1:c102780acdbc22e5f664cfaf760eaccffbd6c385</id>
<content type='text'>
This patch introduces devm_hwspin_lock_register() and devm_hwspin_lock_unregister()
interfaces to help to register or unregister one hardware spinlock controller, that
will help to simplify the cleanup code for hwspinlock drivers.

Signed-off-by: Baolin Wang &lt;baolin.wang@linaro.org&gt;
Signed-off-by: Bjorn Andersson &lt;bjorn.andersson@linaro.org&gt;
</content>
</entry>
</feed>
