Tegra: smmu: remove context save sequence
SMMU and MC registers are saved as part of the System Suspend sequence.
The register list includes some NS world SMMU registers that need to be
saved by NS world software instead. All that remains as a result are
the MC registers.

This patch moves code to MC file as a result and renames all the
variables and defines to use the MC prefix instead of SMMU. The
Tegra186 and Tegra194 platform ports are updated to provide the MC
context register list to the parent driver. The memory required for
context save is reduced due to removal of the SMMU registers.

Change-Id: I83a05079039f52f9ce91c938ada6cd6dfd9c843f
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
1 parent e904448 commit a391d4942a4d34f5293a66e171682f6ca8d0010e
@Pritesh Raithatha Pritesh Raithatha authored on 3 Aug 2018
Varun Wadekar committed on 11 Mar 2020
Showing 16 changed files
View
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
View
plat/nvidia/tegra/common/drivers/smmu/smmu.c
View
plat/nvidia/tegra/include/drivers/memctrl_v2.h
View
plat/nvidia/tegra/include/drivers/smmu.h
View
plat/nvidia/tegra/include/t186/tegra186_private.h
View
plat/nvidia/tegra/include/t186/tegra_def.h
View
plat/nvidia/tegra/include/t194/tegra194_private.h
View
plat/nvidia/tegra/include/t194/tegra_def.h
View
plat/nvidia/tegra/soc/t186/plat_memctrl.c
View
plat/nvidia/tegra/soc/t186/plat_psci_handlers.c
View
plat/nvidia/tegra/soc/t186/plat_smmu.c
View
plat/nvidia/tegra/soc/t186/plat_trampoline.S
View
plat/nvidia/tegra/soc/t194/plat_memctrl.c
View
plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
View
plat/nvidia/tegra/soc/t194/plat_smmu.c
View
plat/nvidia/tegra/soc/t194/plat_trampoline.S