aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVignesh Radhakrishnan <vigneshr@nvidia.com>2017-12-27 21:04:49 -0800
committerVarun Wadekar <vwadekar@nvidia.com>2020-01-23 08:58:53 -0800
commit1a7a1dcd13f8513b7e33addcc5af0209bebb921a (patch)
treec8239ce8a553463870bb3273b75946db165eba1c
parentd11f5e05092b23efed0e46c61b3f6f510e7bbb2f (diff)
downloadplatform_external_arm-trusted-firmware-1a7a1dcd13f8513b7e33addcc5af0209bebb921a.tar.gz
platform_external_arm-trusted-firmware-1a7a1dcd13f8513b7e33addcc5af0209bebb921a.tar.bz2
platform_external_arm-trusted-firmware-1a7a1dcd13f8513b7e33addcc5af0209bebb921a.zip
Tegra194: Request CG7 from last core in cluster
- SC7 requires all the cluster groups to be in CG7 state, else is_sc7_allowed will get denied - As a WAR while requesting CC6, request CG7 as well - CG7 request will not be honored if it is not last core in Cluster group - This is just to satisfy MCE for now as CG7 is going to be defeatured Change-Id: Ibf2f8a365a2e46bd427abd563da772b6b618350f Signed-off-by: Vignesh Radhakrishnan <vigneshr@nvidia.com>
-rw-r--r--plat/nvidia/tegra/soc/t194/plat_psci_handlers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
index b7e370336..5e27455ec 100644
--- a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
+++ b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c
@@ -251,6 +251,8 @@ static plat_local_state_t tegra_get_afflvl1_pwr_state(const plat_local_state_t *
/* Enable CC6 state and turn off wake mask */
cstate_info.cluster = (uint32_t)TEGRA_NVG_CLUSTER_CC6;
+ cstate_info.ccplex = (uint32_t)TEGRA_NVG_CG_CG7;
+ cstate_info.system_state_force = 1;
cstate_info.update_wake_mask = 1U;
mce_update_cstate_info(&cstate_info);