1
linux/Documentation/locking
Richard Maina 7c327d5659 hwspinlock: Introduce hwspin_lock_bust()
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>
2024-05-29 12:52:26 -07:00
..
futex-requeue-pi.rst
hwspinlock.rst hwspinlock: Introduce hwspin_lock_bust() 2024-05-29 12:52:26 -07:00
index.rst
lockdep-design.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
lockstat.rst
locktorture.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
locktypes.rst Documentation: Fix typos 2023-08-18 11:29:03 -06:00
mutex-design.rst locking/mutex: Clarify that mutex_unlock(), and most other sleeping locks, can still use the lock object after it's unlocked 2024-01-08 09:55:31 +01:00
percpu-rw-semaphore.rst
pi-futex.rst
preempt-locking.rst
robust-futex-ABI.rst
robust-futexes.rst
rt-mutex-design.rst
rt-mutex.rst
seqlock.rst
spinlocks.rst
ww-mutex-design.rst