android_kernel_msm-6.1_noth.../include/linux/soc
Chris Lew 19f5ce8875 soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host()
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>
2024-08-13 22:48:13 -07:00
..
actions
amlogic
apple
brcmstb
cirrus
dove
ixp4xx
marvell/octeontx2
mediatek
mmp
nxp
pxa
qcom soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host() 2024-08-13 22:48:13 -07:00
renesas
samsung
sunxi
ti