Skip to content

Commit b35f5b5

Browse files
cyndisthierryreding
authored andcommitted
arm64: tegra: Add context isolation domains on Tegra234
Add Host1x context isolation domains on Tegra234. On Tegra234 we have two IOMMUs that are connected to Host1x-channel programmed engines, so we have to include domains for each of them. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent b0c1a99 commit b35f5b5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,24 @@
569569
interconnect-names = "dma-mem";
570570
iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>;
571571

572+
/* Context isolation domains */
573+
iommu-map = <0 &smmu_niso0 TEGRA234_SID_HOST1X_CTX0 1>,
574+
<1 &smmu_niso0 TEGRA234_SID_HOST1X_CTX1 1>,
575+
<2 &smmu_niso0 TEGRA234_SID_HOST1X_CTX2 1>,
576+
<3 &smmu_niso0 TEGRA234_SID_HOST1X_CTX3 1>,
577+
<4 &smmu_niso0 TEGRA234_SID_HOST1X_CTX4 1>,
578+
<5 &smmu_niso0 TEGRA234_SID_HOST1X_CTX5 1>,
579+
<6 &smmu_niso0 TEGRA234_SID_HOST1X_CTX6 1>,
580+
<7 &smmu_niso0 TEGRA234_SID_HOST1X_CTX7 1>,
581+
<8 &smmu_niso1 TEGRA234_SID_HOST1X_CTX0 1>,
582+
<9 &smmu_niso1 TEGRA234_SID_HOST1X_CTX1 1>,
583+
<10 &smmu_niso1 TEGRA234_SID_HOST1X_CTX2 1>,
584+
<11 &smmu_niso1 TEGRA234_SID_HOST1X_CTX3 1>,
585+
<12 &smmu_niso1 TEGRA234_SID_HOST1X_CTX4 1>,
586+
<13 &smmu_niso1 TEGRA234_SID_HOST1X_CTX5 1>,
587+
<14 &smmu_niso1 TEGRA234_SID_HOST1X_CTX6 1>,
588+
<15 &smmu_niso1 TEGRA234_SID_HOST1X_CTX7 1>;
589+
572590
vic@15340000 {
573591
compatible = "nvidia,tegra234-vic";
574592
reg = <0x15340000 0x00040000>;

0 commit comments

Comments
 (0)