fix: skip CPU cycle allocation for SP vCPU to reach message loop
With the support added in Hafnium SPMC for secondary CPU cold boot,
secondary execution contexts of SPs dont need a round of CPU cycles
through ffa_run to reach the message loop.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ib02f51abb31d30329d43f0937ba30d721504bc53
diff --git a/lib/power_management/hotplug/hotplug.c b/lib/power_management/hotplug/hotplug.c
index 76fa287..aac7b0f 100644
--- a/lib/power_management/hotplug/hotplug.c
+++ b/lib/power_management/hotplug/hotplug.c
@@ -254,7 +254,7 @@
tftf_prepare_cpu_off();
tftf_set_cpu_offline();
- INFO("Powering off\n");
+ INFO("Powering off CPU:%lx\n", read_mpidr_el1());
/* Flush console before the last CPU is powered off. */
if (tftf_get_ref_cnt() == 0)
@@ -306,7 +306,7 @@
enable_irq();
- INFO("Booting\n");
+ INFO("Booting CPU:%lx\n", read_mpidr_el1());
tftf_set_cpu_online();