Skip to content

Commit f9d4283

Browse files
committed
arm64: tegra: Mark host1x as dma-coherent on Tegra194/234
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2186348 commit 361238c Author: Mikko Perttunen <mperttunen@nvidia.com> Date: Thu, 19 Jan 2023 15:38:58 +0200 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> Signed-off-by: Mark Salter <msalter@redhat.com>
1 parent 333d573 commit f9d4283

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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)