summaryrefslogtreecommitdiff
path: root/lib/psci/psci_off.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psci/psci_off.c')
-rw-r--r--lib/psci/psci_off.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/psci/psci_off.c b/lib/psci/psci_off.c
index 471141dd..7b6f90ed 100644
--- a/lib/psci/psci_off.c
+++ b/lib/psci/psci_off.c
@@ -109,6 +109,15 @@ int psci_do_cpu_off(unsigned int end_pwrlvl)
* Arch. management. Perform the necessary steps to flush all
* cpu caches.
*/
+#ifdef SCP_IMAGE
+ /*
+ * MSS implementation does not support cluster power down
+ * in case of Hot plug, therefore we defined MPIDR_AFFLVL1
+ * state to PSCI_LOCAL_STATE_RUN. resulting in max off level
+ * set to CPU level
+ */
+ state_info.pwr_domain_state[MPIDR_AFFLVL1] = PSCI_LOCAL_STATE_RUN;
+#endif
psci_do_pwrdown_cache_maintenance(psci_find_max_off_lvl(&state_info));
/*