Skip to content

Commit 554be43

Browse files
committed
arm64: dts: qcom: sc8280xp: fix UFS DMA coherency
Bugzilla: https://bugzilla.redhat.com/2159516 commit 0953777 Author: Johan Hovold <johan+linaro@kernel.org> Date: Mon Dec 5 11:08:37 2022 +0100 arm64: dts: qcom: sc8280xp: fix UFS DMA coherency The SC8280XP UFS controllers are cache coherent and must be marked as such in the devicetree to avoid potential data corruption. Fixes: 152d1fa ("arm64: dts: qcom: add SC8280XP platform") Cc: stable@vger.kernel.org # 6.0 Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221205100837.29212-3-johan+linaro@kernel.org Signed-off-by: Adrien Thierry <athierry@redhat.com>
1 parent 6c01197 commit 554be43

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm64/boot/dts/qcom/sc8280xp.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,6 +1399,7 @@
13991399
required-opps = <&rpmhpd_opp_nom>;
14001400

14011401
iommus = <&apps_smmu 0xe0 0x0>;
1402+
dma-coherent;
14021403

14031404
clocks = <&gcc GCC_UFS_PHY_AXI_CLK>,
14041405
<&gcc GCC_AGGRE_UFS_PHY_AXI_CLK>,
@@ -1460,6 +1461,7 @@
14601461
power-domains = <&gcc UFS_CARD_GDSC>;
14611462

14621463
iommus = <&apps_smmu 0x4a0 0x0>;
1464+
dma-coherent;
14631465

14641466
clocks = <&gcc GCC_UFS_CARD_AXI_CLK>,
14651467
<&gcc GCC_AGGRE_UFS_CARD_AXI_CLK>,

0 commit comments

Comments
 (0)