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: stable@vger.kernel.org Fixes: 92e0ee9 ("arm64: dts: qcom: sc7280: Add PCIe and PHY related node") Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/1677584952-17496-1-git-send-email-quic_krichai@quicinc.com
1 parent eaba416 commit 8a63441

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)