linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: tegra: Disable ISO SMMU for Tegra194
@ 2022-01-13 14:31 Jon Hunter
  2022-01-27 17:38 ` Thierry Reding
  0 siblings, 1 reply; 2+ messages in thread
From: Jon Hunter @ 2022-01-13 14:31 UTC (permalink / raw)
  To: Thierry Reding; +Cc: linux-tegra, Jon Hunter

Commit e762232f9466 ("arm64: tegra: Add ISO SMMU controller for Tegra194")
add the ISO SMMU for display devices on Tegra194. The SMMU is enabled by
default but no hooked up to the display controllers yet because we do not
have a way to pass frame-buffer memory from the bootloader to the kernel.
However, even though the SMMU is not hooked up to the display controllers
SMMU faults are being seen if a display is connected. Therefore, keep the
ISO SMMU disabled by default for now.

Fixes: e762232f9466 ("arm64: tegra: Add ISO SMMU controller for Tegra194")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
---
 arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/nvidia/tegra194.dtsi b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
index 2d48c3715fc6..aaa00da5351d 100644
--- a/arch/arm64/boot/dts/nvidia/tegra194.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra194.dtsi
@@ -1584,7 +1584,7 @@ iommu@10000000 {
 			#iommu-cells = <1>;
 
 			nvidia,memory-controller = <&mc>;
-			status = "okay";
+			status = "disabled";
 		};
 
 		smmu: iommu@12000000 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: tegra: Disable ISO SMMU for Tegra194
  2022-01-13 14:31 [PATCH] arm64: tegra: Disable ISO SMMU for Tegra194 Jon Hunter
@ 2022-01-27 17:38 ` Thierry Reding
  0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2022-01-27 17:38 UTC (permalink / raw)
  To: Jon Hunter; +Cc: linux-tegra

[-- Attachment #1: Type: text/plain, Size: 838 bytes --]

On Thu, Jan 13, 2022 at 02:31:52PM +0000, Jon Hunter wrote:
> Commit e762232f9466 ("arm64: tegra: Add ISO SMMU controller for Tegra194")
> add the ISO SMMU for display devices on Tegra194. The SMMU is enabled by
> default but no hooked up to the display controllers yet because we do not
> have a way to pass frame-buffer memory from the bootloader to the kernel.
> However, even though the SMMU is not hooked up to the display controllers
> SMMU faults are being seen if a display is connected. Therefore, keep the
> ISO SMMU disabled by default for now.
> 
> Fixes: e762232f9466 ("arm64: tegra: Add ISO SMMU controller for Tegra194")
> Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
> ---
>  arch/arm64/boot/dts/nvidia/tegra194.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-27 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-13 14:31 [PATCH] arm64: tegra: Disable ISO SMMU for Tegra194 Jon Hunter
2022-01-27 17:38 ` Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).