arm64: tegra: Fix insecure SMMU users for Tegra186
authorJonathan Hunter <jonathanh@nvidia.com>
Thu, 2 May 2019 13:27:21 +0000 (14:27 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 8 May 2019 12:42:51 +0000 (14:42 +0200)
commitdfdbf16c50d89a8cb102a5f7a1f53686fff506ad
tree6cbcbdf6b16b7d00a4650ef555d1c0da1631c447
parent2f03e39b5bfe41f3a0d9a8b01231e7e5045cb9c4
arm64: tegra: Fix insecure SMMU users for Tegra186

Commit 954a03be033c ("iommu/arm-smmu: Break insecure users by disabling
bypass by default") intentionally breaks all devices using the SMMU in
bypass mode. This is breaking various devices on Tegra186 which include
the ethernet, BPMP and HDA device. Fix this by populating the iommus
property for these devices with their stream ID.

Fixes: 954a03be033c ("iommu/arm-smmu: Break insecure users by disabling bypass by default")
Signed-off-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi