Skip to content

Commit 8a63441

Browse files
Krishna chaitanya chundruandersson
authored andcommitted
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: [email protected] Fixes: 92e0ee9 ("arm64: dts: qcom: sc7280: Add PCIe and PHY related node") Signed-off-by: Krishna chaitanya chundru <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent eaba416 commit 8a63441

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,6 +2131,8 @@
21312131
pinctrl-names = "default";
21322132
pinctrl-0 = <&pcie1_clkreq_n>;
21332133

2134+
dma-coherent;
2135+
21342136
iommus = <&apps_smmu 0x1c80 0x1>;
21352137

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

0 commit comments

Comments
 (0)