Re: [PATCH v2 4/4] remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop

2024-05-28 Thread Bjorn Andersson
On Fri, May 24, 2024 at 06:26:43PM -0700, Chris Lew wrote: > From: Richard Maina > > When remoteproc goes down unexpectedly this results in a state where any > acquired hwspinlocks will remain locked possibly resulting in deadlock. > In order to ensure all locks are freed we include a call to > q

[PATCH v2 4/4] remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop

2024-05-24 Thread Chris Lew
From: Richard Maina When remoteproc goes down unexpectedly this results in a state where any acquired hwspinlocks will remain locked possibly resulting in deadlock. In order to ensure all locks are freed we include a call to qcom_smem_bust_hwspin_lock_by_host() during remoteproc shutdown. For qc