mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 16:20:55 +07:00
arm64: tegra: Enable SMMU translation for PCI on Tegra186
Commit954a03be03
("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:954a03be03
("iommu/arm-smmu: Break insecure users by disabling bypass by default") Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
dfdbf16c50
commit
f2a465e718
@ -673,6 +673,10 @@ pcie@10003000 {
|
||||
<&bpmp TEGRA186_RESET_PCIEXCLK>;
|
||||
reset-names = "afi", "pex", "pcie_x";
|
||||
|
||||
iommus = <&smmu TEGRA186_SID_AFI>;
|
||||
iommu-map = <0x0 &smmu TEGRA186_SID_AFI 0x1000>;
|
||||
iommu-map-mask = <0x0>;
|
||||
|
||||
status = "disabled";
|
||||
|
||||
pci@1,0 {
|
||||
|
Loading…
Reference in New Issue
Block a user