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 <anzhou@nvidia.com>
Change-Id: Ib1a3d8903f5e6d55bd2ee0c16134dbe2562235ea
This commit is contained in:
anzhou 2020-08-05 22:34:13 +08:00 committed by Varun Wadekar
parent 5f902752e5
commit c23f5e1cb9
1 changed files with 3 additions and 0 deletions

View File

@ -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();
}
/*******************************************************************************