Re: [PATCH v2 1/4] hwspinlock: Introduce hwspin_lock_bust()

2024-05-28 Thread Bjorn Andersson
On Fri, May 24, 2024 at 06:26:40PM -0700, Chris Lew wrote: > From: Richard Maina > > 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 > hw

[PATCH v2 1/4] hwspinlock: Introduce hwspin_lock_bust()

2024-05-24 Thread Chris Lew
From: Richard Maina 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