Commit 8a63441e authored by Krishna chaitanya chundru's avatar Krishna chaitanya chundru Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sc7280: Mark PCIe controller as cache coherent



If the controller is not marked as cache coherent, then kernel will
try to ensure coherency during dma-ops and that may cause data corruption.
So, mark the PCIe node as dma-coherent as the devices on PCIe bus are
cache coherent.

Cc: stable@vger.kernel.org
Fixes: 92e0ee9f ("arm64: dts: qcom: sc7280: Add PCIe and PHY related node")
Signed-off-by: default avatarKrishna chaitanya chundru <quic_krichai@quicinc.com>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1677584952-17496-1-git-send-email-quic_krichai@quicinc.com
parent eaba4166
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2131,6 +2131,8 @@
			pinctrl-names = "default";
			pinctrl-0 = <&pcie1_clkreq_n>;

			dma-coherent;

			iommus = <&apps_smmu 0x1c80 0x1>;

			iommu-map = <0x0 &apps_smmu 0x1c80 0x1>,