Re: (subset) [PATCH v3 0/4] Add support for hwspinlock bust

From: Bjorn Andersson
Date: Wed May 29 2024 - 17:23:48 EST



On Wed, 29 May 2024 11:09:54 -0700, Chris Lew wrote:
> hwspinlocks can be acquired by many devices on the SoC. If any of these
> devices go into a bad state before the device releases the hwspinlock,
> then that hwspinlock may end up in an unusable state.
>
> In the case of smem, each remoteproc takes a hwspinlock before trying to
> allocate an smem item. If the remoteproc were to suddenly crash without
> releasing this, it would be impossible for other remoteprocs to allocate
> any smem items.
>
> [...]

Applied, thanks!

[3/4] soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host()
commit: 2e3f0d693875db698891ffe89a18121bda5b95b8
[4/4] remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop
commit: 568b13b65078e2b557ccf47674a354cecd1db641

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>