aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_fit.py
diff options
context:
space:
mode:
authorRichard Maina <[email protected]>2024-05-29 18:09:58 +0000
committerBjorn Andersson <[email protected]>2024-05-29 19:59:14 +0000
commit568b13b65078e2b557ccf47674a354cecd1db641 (patch)
treea732ad63ebb0296bdbe0968ea3ac934afcf2d684 /scripts/make_fit.py
parentsoc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host() (diff)
downloadkernel-568b13b65078e2b557ccf47674a354cecd1db641.tar.gz
kernel-568b13b65078e2b557ccf47674a354cecd1db641.zip
remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop
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 qcom_q6v5_pas remoteprocs, each remoteproc has an assigned smem host_id. Remoteproc can pass this id to smem to try and bust the lock on remoteproc stop. This edge case only occurs with q6v5_pas watchdog crashes. The error fatal case has handling to clear the hwspinlock before the error fatal interrupt is triggered. 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 'scripts/make_fit.py')
0 files changed, 0 insertions, 0 deletions