aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorRichard Maina <[email protected]>2024-05-29 11:09:55 -0700
committerBjorn Andersson <[email protected]>2024-05-29 12:52:26 -0700
commit7c327d56597d8de1680cf24e956b704270d3d84a (patch)
tree46e51f75c8a0a7c15e25938abbf0ab770ed05dce /lib/memory-notifier-error-inject.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
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 <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Chris Lew <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions