2023-12-19 18:41:16

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent

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 <[email protected]>
---
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
index fe761d6d0dd3..61475e56cef3 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
@@ -1751,6 +1751,7 @@ pcie0: pcie@1c00000 {

phys = <&pcie0_phy>;
phy-names = "pciephy";
+ dma-coherent;

status = "disabled";
};
@@ -1847,6 +1848,7 @@ pcie3: pcie@1c08000 {

phys = <&pcie3_phy>;
phy-names = "pciephy";
+ dma-coherent;

status = "disabled";
};
@@ -1944,6 +1946,7 @@ pcie1: pcie@1c10000 {

phys = <&pcie1_phy>;
phy-names = "pciephy";
+ dma-coherent;

status = "disabled";
};
@@ -2041,6 +2044,7 @@ pcie2: pcie@1c18000 {

phys = <&pcie2_phy>;
phy-names = "pciephy";
+ dma-coherent;

status = "disabled";
};

---
base-commit: aa4db8324c4d0e67aa4670356df4e9fae14b4d37
change-id: 20231219-topic-8180_pcie_dmac-b9d6d657bc83

Best regards,
--
Konrad Dybcio <[email protected]>



2023-12-19 20:28:49

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent


On Tue, 19 Dec 2023 19:40:21 +0100, Konrad Dybcio wrote:
> The PCIe controllers on 8180 are cache-coherent. Mark them as such.
>
>

Applied, thanks!

[1/1] arm64: dts: qcom: sc8180x: Mark PCIe hosts cache-coherent
commit: 1b3319e8055f7b18bdc0fae0fa7847b905c38bb6

Best regards,
--
Bjorn Andersson <[email protected]>