From c23f5e1cb920bbf6d623a6f91719eb98a5292e52 Mon Sep 17 00:00:00 2001 From: anzhou Date: Wed, 5 Aug 2020 22:34:13 +0800 Subject: [PATCH] Tegra: common: disable GICC after domain off The the GIC CPU interface should be disabled after cpu off. The Tegra power management code should mark the connected core as asleep as part of the CPU off sequence. This patch disables the GICC after CPU off as a result. Signed-off-by: anzhou Change-Id: Ib1a3d8903f5e6d55bd2ee0c16134dbe2562235ea --- plat/nvidia/tegra/common/tegra_pm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plat/nvidia/tegra/common/tegra_pm.c b/plat/nvidia/tegra/common/tegra_pm.c index d0191d07d..27dd3a290 100644 --- a/plat/nvidia/tegra/common/tegra_pm.c +++ b/plat/nvidia/tegra/common/tegra_pm.c @@ -96,6 +96,9 @@ static int32_t tegra_pwr_domain_on(u_register_t mpidr) static void tegra_pwr_domain_off(const psci_power_state_t *target_state) { (void)tegra_soc_pwr_domain_off(target_state); + + /* disable GICC */ + tegra_gic_cpuif_deactivate(); } /*******************************************************************************