Skip to content

Commit 361238c

Browse files
cyndisthierryreding
authored andcommitted
arm64: tegra: Mark host1x as dma-coherent on Tegra194/234
Ensure appropriate configuration is done to make the host1x device and context devices DMA coherent by adding the dma-coherent flag. Fixes: b35f5b5 ("arm64: tegra: Add context isolation domains on Tegra234") Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 320e0a7 commit 361238c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,6 +1923,7 @@
19231923
interconnects = <&mc TEGRA194_MEMORY_CLIENT_HOST1XDMAR &emc>;
19241924
interconnect-names = "dma-mem";
19251925
iommus = <&smmu TEGRA194_SID_HOST1X>;
1926+
dma-coherent;
19261927

19271928
/* Context isolation domains */
19281929
iommu-map = <0 &smmu TEGRA194_SID_HOST1X_CTX0 1>,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2151,6 +2151,7 @@
21512151
interconnects = <&mc TEGRA234_MEMORY_CLIENT_HOST1XDMAR &emc>;
21522152
interconnect-names = "dma-mem";
21532153
iommus = <&smmu_niso1 TEGRA234_SID_HOST1X>;
2154+
dma-coherent;
21542155

21552156
/* Context isolation domains */
21562157
iommu-map = <0 &smmu_niso0 TEGRA234_SID_HOST1X_CTX0 1>,

0 commit comments

Comments
 (0)