]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: ipq5332: Fix hwlock index for SMEM
authorVignesh Viswanathan <quic_viswanat@quicinc.com>
Mon, 4 Sep 2023 17:25:12 +0000 (22:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:15:05 +0000 (17:15 +0000)
commit d08afd80158399a081b478a19902364e3dd0f84c 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 IPQ5332.

Cc: stable@vger.kernel.org
Fixes: d56dd7f935e1 ("arm64: dts: qcom: ipq5332: 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-2-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/ipq5332.dtsi

index 8bfc2db44624af8d5780814b2bde23bfc518ce4d..e40c55adff23d161a7ae87541a4b372ffb6b19a2 100644 (file)
                        reg = <0x0 0x4a800000 0x0 0x100000>;
                        no-map;
 
-                       hwlocks = <&tcsr_mutex 0>;
+                       hwlocks = <&tcsr_mutex 3>;
                };
        };