Tegra186: save/restore BL31 context to/from TZDRAM
This patch adds support to save the BL31 state to the TZDRAM
before entering system suspend. The TZRAM loses state during
system suspend and so we need to copy the entire BL31 code to
TZDRAM before entering the state.

In order to restore the state on exiting system suspend, a new
CPU reset handler is implemented which gets copied to TZDRAM
during boot. TO keep things simple we use this same reset handler
for booting secondary CPUs too.

Change-Id: I770f799c255d22279b5cdb9b4d587d3a4c54fad7
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
1 parent e64ce3a commit 68c7de6fa924723df14bf8ff80159c2cda718ed6
@Varun Wadekar Varun Wadekar authored on 18 Mar 2016
Showing 8 changed files
View
plat/nvidia/tegra/include/drivers/memctrl_v2.h
View
plat/nvidia/tegra/include/drivers/smmu.h
View
plat/nvidia/tegra/include/tegra_private.h
View
plat/nvidia/tegra/soc/t186/drivers/smmu/smmu.c
View
plat/nvidia/tegra/soc/t186/plat_psci_handlers.c
View
plat/nvidia/tegra/soc/t186/plat_secondary.c
View
plat/nvidia/tegra/soc/t186/plat_trampoline.S 0 → 100644
View
plat/nvidia/tegra/soc/t186/platform_t186.mk