linux-yocto/drivers/hwspinlock
Richard Maina 2da121e397 hwspinlock: Introduce hwspin_lock_bust()
[ Upstream commit 7c327d5659 ]

When a remoteproc crashes or goes down unexpectedly this can result in
a state where locks held by the remoteproc will remain locked possibly
resulting in deadlock. This new API hwspin_lock_bust() allows
hwspinlock implementers to define a bust operation for freeing previously
acquired hwspinlocks after verifying ownership of the acquired lock.

Signed-off-by: Richard Maina <quic_rmaina@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Link: https://lore.kernel.org/r/20240529-hwspinlock-bust-v3-1-c8b924ffa5a2@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:07:41 +02:00
..
hwspinlock_core.c hwspinlock: Introduce hwspin_lock_bust() 2024-09-12 11:07:41 +02:00
hwspinlock_internal.h hwspinlock: Introduce hwspin_lock_bust() 2024-09-12 11:07:41 +02:00
Kconfig
Makefile
omap_hwspinlock.c hwspinlock: omap: Add support for K3 AM64x SoCs 2021-02-09 11:36:50 -06:00
qcom_hwspinlock.c hwspinlock: qcom: correct MMIO max register for newer SoCs 2022-11-16 09:58:13 +01:00
sprd_hwspinlock.c hwspinlock: sprd: fixed warning of unused variable 'sprd_hwspinlock_of_match' 2020-11-17 21:42:13 -06:00
stm32_hwspinlock.c
sun6i_hwspinlock.c
u8500_hsem.c