projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca2b8ee
)
arm64: tegra: Enable SMMU for XUSB host on Tegra186
author
Nagarjuna Kristam
<nkristam@nvidia.com>
Tue, 17 Sep 2019 06:56:44 +0000
(12:26 +0530)
committer
Thierry Reding
<treding@nvidia.com>
Tue, 29 Oct 2019 19:30:06 +0000
(20:30 +0100)
Enabling the SMMU for XUSB host allows buffers to be mapped through the
ARM SMMU, which helps protecting the system from rogue memory accesses
by the XUSB host.
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm64/boot/dts/nvidia/tegra186.dtsi
b/arch/arm64/boot/dts/nvidia/tegra186.dtsi
index
47cd831
..
abdc81f
100644
(file)
--- a/
arch/arm64/boot/dts/nvidia/tegra186.dtsi
+++ b/
arch/arm64/boot/dts/nvidia/tegra186.dtsi
@@
-525,6
+525,7
@@
<0x0 0x03538000 0x0 0x1000>;
reg-names = "hcd", "fpci";
+ iommus = <&smmu TEGRA186_SID_XUSB_HOST>;
interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;