]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: tegra: Enable SMMU when going non-secure
authorThierry Reding <treding@nvidia.com>
Tue, 21 Apr 2015 05:18:38 +0000 (07:18 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:39:37 +0000 (22:39 +0200)
commitc3564a580f2c79155cf39178cb54ad2681a3bbcb
tree6a36841bedf1704636ceefd9ec0b7741da06f325
parent98f117628fc34445ff4a507059a471d0a98f979d
ARM: tegra: Enable SMMU when going non-secure

Make sure to enable the SMMU when booting the kernel in non-secure mode.
This is necessary because some of the SMMU registers are restricted to
TrustZone-secured requestors, hence the kernel wouldn't be able to turn
the SMMU on. At the same time, enable translation for all memory clients
for the same reasons. The kernel will still be able to control SMMU IOVA
translation using the per-SWGROUP enable bits.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
arch/arm/include/asm/arch-tegra124/mc.h
arch/arm/mach-tegra/ap.c