summaryrefslogtreecommitdiff
path: root/lib/psci
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2019-09-27 09:42:37 +0000
committerTrustedFirmware Code Review <review@review.trustedfirmware.org>2019-09-27 09:42:37 +0000
commit41bda863305eae92db2e4e18cd057797765d261c (patch)
tree4446d13e90dfb14e67abf7510e0eb8c9de1c74bc /lib/psci
parent69ef7b7ffe66b64bdffee0a387774e7088022503 (diff)
parent6806cd2381901d424b40ba3f17d23f5ffa4ca57e (diff)
Merge changes from topic "mp/giv3-discovery" into integration
* changes: Migrate ARM platforms to use the new GICv3 API Adding new optional PSCI hook pwr_domain_on_finish_late GICv3: Enable multi socket GIC redistributor frame discovery
Diffstat (limited to 'lib/psci')
-rw-r--r--lib/psci/psci_on.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/psci/psci_on.c b/lib/psci/psci_on.c
index aa6b324e..470b4f33 100644
--- a/lib/psci/psci_on.c
+++ b/lib/psci/psci_on.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2013-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -182,6 +182,14 @@ void psci_cpu_on_finish(int cpu_idx, const psci_power_state_t *state_info)
#endif
/*
+ * Plat. management: Perform any platform specific actions which
+ * can only be done with the cpu and the cluster guaranteed to
+ * be coherent.
+ */
+ if (psci_plat_pm_ops->pwr_domain_on_finish_late != NULL)
+ psci_plat_pm_ops->pwr_domain_on_finish_late(state_info);
+
+ /*
* All the platform specific actions for turning this cpu
* on have completed. Perform enough arch.initialization
* to run in the non-secure address space.