arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM
authorVignesh Viswanathan <quic_viswanat@quicinc.com>
Mon, 4 Sep 2023 17:25:13 +0000 (22:55 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 20 Sep 2023 03:57:58 +0000 (20:57 -0700)
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 IPQ6018.

Cc: stable@vger.kernel.org
Fixes: 5bf635621245 ("arm64: dts: ipq6018: Add a few device nodes")
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-3-quic_viswanat@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq6018.dtsi

index 3c8a2f4e26a3966bc81c65685ed1f962e8a01d2d..72e6457ddf9ff13e3d6adf90dc41880f9e748bf5 100644 (file)
        smem {
                compatible = "qcom,smem";
                memory-region = <&smem_region>;
-               hwlocks = <&tcsr_mutex 0>;
+               hwlocks = <&tcsr_mutex 3>;
        };
 
        soc: soc@0 {