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 soc: apple: rtkit: Add apple_rtkit_poll 2022-09-17 19:53:29 +02:00
brcmstb
cirrus
dove
ixp4xx ARM: ixp4xx: Remove feature bit accessors 2022-02-12 18:20:04 +01:00
marvell/octeontx2 marvell: octeontx2: build error: unknown type name 'u64' 2021-10-13 13:25:36 -07:00
mediatek ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
mmp
nxp
pxa ARM: pxa: move plat-pxa to drivers/soc/ 2022-05-07 22:56:16 +02:00
qcom soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host() 2024-08-13 22:48:13 -07:00
renesas clk: renesas: r9a06g032: Export function to set dmamux 2022-05-19 22:34:51 +05:30
samsung soc: samsung: exynos-chipid: Pass revision reg offsets 2021-10-15 09:48:40 +02:00
sunxi soc: sunxi: sram: Return void from the release function 2022-09-18 22:54:02 +02:00
ti ARM: omap1: fix !ARCH_OMAP1_ANY link failures 2023-01-24 07:24:40 +01:00