arm64: tegra: Enable IOMMU for host1x on Tegra132
Subsystems (2)
PATCH 1/1 arm64: tegra: Enable IOMMU for host1x on Tegra132
Add the iommu property to the host1x node to register it with its swgroup.
--- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 ++ 1 file changed, 2 insertions(+)
arch/arm64/boot/dts/nvidia/tegra132.dtsi +2 -0
@@ -93,6 +93,8 @@ host1x@50000000 { resets = <&tegra_car 28>; reset-names = "host1x"; + iommus = <&mc TEGRA_SWGROUP_HC>; + #address-cells = <2>; #size-cells = <2>;
Signature · 1 line
2.41.0
Quoted 7 lines · Rayyan Ansari
Add the iommu property to the host1x node to register it with its swgroup.
Signed-off-by Rayyan Ansari <[email protected]>--- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 ++ 1 file changed, 2 insertions(+)
Do you happen to have a Tegra132 device that you can test upstream Linux on? Just asking out of curiosity because these devices are becoming very rare these days and it'd be good to know if people are still using these and that recent Linux kernels are still running on them.
Thierry
Quoted 9 lines · Thierry Reding
Quoted 7 lines · Rayyan Ansari
Add the iommu property to the host1x node to register it with its swgroup.
Signed-off-by Rayyan Ansari <[email protected]>--- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 2 ++ 1 file changed, 2 insertions(+)
Quoted 4 lines
Do you happen to have a Tegra132 device that you can test upstream Linux on? Just asking out of curiosity because these devices are becoming very rare these days and it'd be good to know if people are still using these and that recent Linux kernels are still running on them.
I do - I have the Nexus 9. At some point I was trying to mainline it, but I stopped as I couldn't manage to get USB working - I only got simplefb working. If it would be useful I could see if my old patches work now and submit them.
Quoted 2 lines
Thierry
Signature · 2 lines
Rayyan Ansari https://ansari.sh
Quoted 10 lines · Rayyan Ansari
Quoted 9 lines · Thierry Reding
Quoted 7 lines · Rayyan Ansari
Add the iommu property to the host1x node to register it with its swgroup.
Signed-off-by Rayyan Ansari <[email protected]>---
arch/arm64/boot/dts/nvidia/tegra132.dtsi| 2 ++1 file changed, 2 insertions(+)
Quoted 6 lines
Quoted 4 lines
Do you happen to have a Tegra132 device that you can test upstream Linux on? Just asking out of curiosity because these devices are becoming very rare these days and it'd be good to know if people are still using these and that recent Linux kernels are still running on them.
I do - I have the Nexus 9. At some point I was trying to mainline it, but I stopped as I couldn't manage to get USB working - I only got simplefb working. If it would be useful I could see if my old patches work now and submit them.
I looked through my old notes and I was able to get USB host mode (ie USB OTG) working but not USB device mode.
Quoted 4 lines
Quoted 3 lines
Thierry
Signature · 2 lines
Rayyan Ansari https://ansari.sh
Thierry Reding
AppliedFrom: Thierry Reding <[email protected]>
Quoted 4 lines · Rayyan Ansari
Add the iommu property to the host1x node to register it with its swgroup.
Applied, thanks!
[1/1] arm64: tegra: Enable IOMMU for host1x on Tegra132
commit: ffca3ccbe50e12a83facfc7e9beabd1851345fa0
Best regards,
Signature · 1 line
Thierry Reding <[email protected]>