All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] memory: tegra: Remove early boot SID override programming
@ 2022-11-16 10:24 Ashish Mhetre
  0 siblings, 0 replies; only message in thread
From: Ashish Mhetre @ 2022-11-16 10:24 UTC (permalink / raw)
  To: krzysztof.kozlowski, thierry.reding, jonathanh, dmitry.osipenko,
	linux-kernel, linux-tegra
  Cc: Ashish Mhetre

SID override is programmed on-demand during probe_finalize() call of
IOMMU which is done in tegra186_mc_client_sid_override() in this same
file. This function does it more correctly by checking if write is
permitted on SID override register. It also checks if SID override
register is already written with correct value and skips re-writing it
in that case.
Also, on newer Tegra releases SID override programming is done by
bootloader.
Hence, removing the early boot SID override programming of all clients.

Fixes: 393d66fd2cac ("memory: tegra: Implement SID override programming")
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
---
 drivers/memory/tegra/tegra186.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/memory/tegra/tegra186.c b/drivers/memory/tegra/tegra186.c
index 62477e592bf5..870273d343d6 100644
--- a/drivers/memory/tegra/tegra186.c
+++ b/drivers/memory/tegra/tegra186.c
@@ -85,8 +85,6 @@ static int tegra186_mc_probe(struct tegra_mc *mc)
 	if (err < 0)
 		return err;
 
-	tegra186_mc_program_sid(mc);
-
 	return 0;
 }
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-16 10:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16 10:24 [PATCH] memory: tegra: Remove early boot SID override programming Ashish Mhetre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.