zynqmp: PSCI: Wait for FW completing wake requests
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 19 May 2016 14:20:14 +0000 (07:20 -0700)
committerSoren Brinkmann <soren.brinkmann@xilinx.com>
Wed, 25 May 2016 17:47:03 +0000 (10:47 -0700)
Powering up cores didn't wait for the PMUFW to complete the request,
which could result in cores failing to power up in Linux.

Reported-by: Koteswararao Nayudu <kotin@xilinx.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
plat/xilinx/zynqmp/plat_psci.c

index d693a2dbf8b9eac76d4f0be991b2b79b93a3dd55..56eb742acadbfdfa8afcfcf24271489ac84f7dcb 100644 (file)
@@ -104,7 +104,7 @@ static int zynqmp_pwr_domain_on(u_register_t mpidr)
        proc = pm_get_proc(cpu_id);
 
        /* Send request to PMU to wake up selected APU CPU core */
-       pm_req_wakeup(proc->node_id, 1, zynqmp_sec_entry, REQ_ACK_NO);
+       pm_req_wakeup(proc->node_id, 1, zynqmp_sec_entry, REQ_ACK_BLOCKING);
 
        return PSCI_E_SUCCESS;
 }