arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 19 Dec 2023 18:40:21 +0000 (19:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2024 23:35:28 +0000 (15:35 -0800)
[ Upstream commit 45e8c72712345263208f7c94f334fa718634f557 ]

The PCIe controllers on 8180 are cache-coherent. Mark them as such.

Fixes: d20b6c84f56a ("arm64: dts: qcom: sc8180x: Add PCIe instances")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231219-topic-8180_pcie_dmac-v1-1-5d00fc1b23fd@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x.dtsi

index 486f7ff..0d85bde 100644 (file)
 
                        phys = <&pcie0_lane>;
                        phy-names = "pciephy";
+                       dma-coherent;
 
                        status = "disabled";
                };
 
                        phys = <&pcie3_lane>;
                        phy-names = "pciephy";
+                       dma-coherent;
 
                        status = "disabled";
                };
 
                        phys = <&pcie1_lane>;
                        phy-names = "pciephy";
+                       dma-coherent;
 
                        status = "disabled";
                };
 
                        phys = <&pcie2_lane>;
                        phy-names = "pciephy";
+                       dma-coherent;
 
                        status = "disabled";
                };