Skip to content

Commit 672a58f

Browse files
Mani-Sadhasivamandersson
authored andcommitted
arm64: dts: qcom: sm8150: Fix the iommu mask used for PCIe controllers
The iommu mask should be 0x3f as per Qualcomm internal documentation. Without the correct mask, the PCIe transactions from the endpoint will result in SMMU faults. Hence, fix it! Cc: [email protected] # 5.19 Fixes: a1c86c6 ("arm64: dts: qcom: sm8150: Add PCIe nodes") Signed-off-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Reviewed-by: Bhupesh Sharma <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fe15c26 commit 672a58f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@
18261826
"slave_q2a",
18271827
"tbu";
18281828

1829-
iommus = <&apps_smmu 0x1d80 0x7f>;
1829+
iommus = <&apps_smmu 0x1d80 0x3f>;
18301830
iommu-map = <0x0 &apps_smmu 0x1d80 0x1>,
18311831
<0x100 &apps_smmu 0x1d81 0x1>;
18321832

@@ -1925,7 +1925,7 @@
19251925
assigned-clocks = <&gcc GCC_PCIE_1_AUX_CLK>;
19261926
assigned-clock-rates = <19200000>;
19271927

1928-
iommus = <&apps_smmu 0x1e00 0x7f>;
1928+
iommus = <&apps_smmu 0x1e00 0x3f>;
19291929
iommu-map = <0x0 &apps_smmu 0x1e00 0x1>,
19301930
<0x100 &apps_smmu 0x1e01 0x1>;
19311931

0 commit comments

Comments
 (0)