mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00:00
ef86b2c280
On newer Tegra releases, early boot SID override programming and SID
override programming during resume is handled by bootloader.
In the function tegra186_mc_program_sid() which is getting removed, SID
override register of all clients is written without checking if secure
firmware has allowed write on it or not. If write is disabled by secure
firmware then it can lead to errors coming from secure firmware and hang
in kernel boot.
Also, 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 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.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
mc.c | ||
mc.h | ||
tegra20-emc.c | ||
tegra20.c | ||
tegra30-emc.c | ||
tegra30.c | ||
tegra114.c | ||
tegra124-emc.c | ||
tegra124.c | ||
tegra186-emc.c | ||
tegra186.c | ||
tegra194.c | ||
tegra210-emc-cc-r21021.c | ||
tegra210-emc-core.c | ||
tegra210-emc-table.c | ||
tegra210-emc.h | ||
tegra210-mc.h | ||
tegra210.c | ||
tegra234.c |