Browse Source

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
pull/1979/head
anzhou 4 years ago
committed by Varun Wadekar
parent
commit
c23f5e1cb9
  1. 3
      plat/nvidia/tegra/common/tegra_pm.c

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

Loading…
Cancel
Save