mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
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> |
||
---|---|---|
.. | ||
futex-requeue-pi.rst | ||
hwspinlock.rst | ||
index.rst | ||
lockdep-design.rst | ||
lockstat.rst | ||
locktorture.rst | ||
locktypes.rst | ||
mutex-design.rst | ||
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 |