Skip to content

Commit f2a465e

Browse files
committed
arm64: tegra: Enable SMMU translation for PCI on Tegra186
Commit 954a03b ("iommu/arm-smmu: Break insecure users by disabling bypass by default") intentionally breaks all devices using the SMMU in bypass mode. This breaks, among other things, PCI support on Tegra186. Fix this by populating the iommus property and friends for the PCIe controller. Fixes: 954a03b ("iommu/arm-smmu: Break insecure users by disabling bypass by default") Signed-off-by: Thierry Reding <[email protected]>
1 parent dfdbf16 commit f2a465e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra186.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,10 @@
673673
<&bpmp TEGRA186_RESET_PCIEXCLK>;
674674
reset-names = "afi", "pex", "pcie_x";
675675

676+
iommus = <&smmu TEGRA186_SID_AFI>;
677+
iommu-map = <0x0 &smmu TEGRA186_SID_AFI 0x1000>;
678+
iommu-map-mask = <0x0>;
679+
676680
status = "disabled";
677681

678682
pci@1,0 {

0 commit comments

Comments
 (0)