Add qcom_smem_bust_hwspin_lock_by_host to enable remoteproc to bust the hwspin_lock owned by smem. In the event the remoteproc crashes unexpectedly, the remoteproc driver can invoke this API to try and bust the hwspin_lock and release the lock if still held by the remoteproc device. Change-Id: Ia9b3169586a75908f8f6e7e831b6a42ee585f9f7 Signed-off-by: Chris Lew <quic_clew@quicinc.com> Reviewed-by: Bjorn Andersson <quic_bjorande@quicinc.com> Link: https://lore.kernel.org/r/20240529-hwspinlock-bust-v3-3-c8b924ffa5a2@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org> Git-commit: 2e3f0d693875db698891ffe89a18121bda5b95b8 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [quic_deesin@quicinc.com: Bust function in core hwspinlock module is not available downstream due to KMI freeze, directly use bust function exported by qcom hwspinlock module] Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| amlogic | ||
| apple | ||
| brcmstb | ||
| cirrus | ||
| dove | ||
| ixp4xx | ||
| marvell/octeontx2 | ||
| mediatek | ||
| mmp | ||
| nxp | ||
| pxa | ||
| qcom | ||
| renesas | ||
| samsung | ||
| sunxi | ||
| ti | ||