arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM
authorVignesh Viswanathan <quic_viswanat@quicinc.com>
Mon, 4 Sep 2023 17:25:14 +0000 (22:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:07:12 +0000 (17:07 +0000)
commit 8a781d04e580705d36f7db07f5c80e748100b69d upstream.

SMEM uses lock index 3 of the TCSR Mutex hwlock for allocations
in SMEM region shared by the Host and FW.

Fix the SMEM hwlock index to 3 for IPQ8074.

Cc: stable@vger.kernel.org
Fixes: 42124b947e8e ("arm64: dts: qcom: ipq8074: add SMEM support")
Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230904172516.479866-4-quic_viswanat@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/ipq8074.dtsi

index 3f7cf3f..3d8e5ba 100644 (file)
@@ -90,7 +90,7 @@
                        reg = <0x0 0x4ab00000 0x0 0x00100000>;
                        no-map;
 
-                       hwlocks = <&tcsr_mutex 0>;
+                       hwlocks = <&tcsr_mutex 3>;
                };
 
                memory@4ac00000 {