We are trying to wake up AP cores from sleep mode using SCU wake event,
Using below SCU configuration before executing WFE.
sc_irq_enable(ipc_handle, 297U, SC_IRQ_GROUP_WAKE, SC_IRQ_PAD, SC_TRUE);
/* Enable GPIO pad wakeup */
sc_pad_set_wakeup(ipc_handle, 40U, 6U);//SC_PAD_WAKEUP_RISE_EDGE 6U
sc_pm_req_low_power_mode(ipc_handle, SC_R_A53, SC_PM_PW_MODE_OFF);
sc_pm_req_cpu_low_power_mode(ipc_handle, SC_R_A53, SC_PM_PW_MODE_OFF, SC_PM_WAKE_SRC_SCU);
But SCU is not generating interrupt to resume the core out of WFE.
Do you have ATF layer in your project?
No, We are trying to follow same steps as mentioned in ATF but executing in bare metal env.