From de4a643876fa31e440cb4e4f15c47692907945f2 Mon Sep 17 00:00:00 2001 From: Vignesh Radhakrishnan Date: Wed, 20 Dec 2017 15:04:26 -0800 Subject: [PATCH] Tegra194: request CG7 before checking if SC7 is allowed Currently firmware seems to be checking if we can get into system suspend after checking if CC6 & C7 is allowed. For system suspend to be triggered, the firmware needs to request for CG7 as well. This patch fixes this anomaly. Change-Id: I39c4c50092a4288f4f3fa4b0b1d5026be50f058f Signed-off-by: Vignesh Radhakrishnan Signed-off-by: Varun Wadekar --- plat/nvidia/tegra/soc/t194/plat_psci_handlers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c index e2001b18e..352def13d 100644 --- a/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c +++ b/plat/nvidia/tegra/soc/t194/plat_psci_handlers.c @@ -103,6 +103,7 @@ int32_t tegra_soc_pwr_domain_suspend(const psci_power_state_t *target_state) uint32_t val; mce_cstate_info_t sc7_cstate_info = { .cluster = (uint32_t)TEGRA_NVG_CLUSTER_CC6, + .ccplex = (uint32_t)TEGRA_NVG_CG_CG7, .system = (uint32_t)TEGRA_NVG_SYSTEM_SC7, .system_state_force = 1U, .update_wake_mask = 1U, -- GitLab