Commit c23f5e1c authored by anzhou's avatar anzhou Committed by Varun Wadekar
Browse files

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: default avataranzhou <anzhou@nvidia.com>
Change-Id: Ib1a3d8903f5e6d55bd2ee0c16134dbe2562235ea
parent 5f902752
...@@ -96,6 +96,9 @@ static int32_t tegra_pwr_domain_on(u_register_t mpidr) ...@@ -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) static void tegra_pwr_domain_off(const psci_power_state_t *target_state)
{ {
(void)tegra_soc_pwr_domain_off(target_state); (void)tegra_soc_pwr_domain_off(target_state);
/* disable GICC */
tegra_gic_cpuif_deactivate();
} }
/******************************************************************************* /*******************************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment