xilinx: zynqmp: pm_service: Fix APU only restart
Existing code blocks each IPI send request in ipi_mb_notify()
function till pmu clears respective bit in ipi observation
register.

After sending PM_SYSTEM_SHUTDOWN request to PMU, PMU will
restart APU. While PMU is restarting APU, ATF is running out
of OCM, which can cause read/write hang from/to OCM.
There is no need to wait for notification from PMU in case
of SystemShutdown request in ATF, as APU is going to restart.

This patch fixes APU only restart issue.

Signed-off-by: Tejas Patel <tejasp@xilinx.com>
Acked-by: Wendy Liang <wendy.liang@xilinx.com>
1 parent 3f0d4f1 commit 7dae6137efb7286c7cc73a47a5b25545cc1fb799
@Tejas Patel Tejas Patel authored on 9 Feb 2018
Siva Durga Prasad Paladugu committed on 17 May 2018
Showing 3 changed files
View
plat/xilinx/zynqmp/pm_service/pm_api_sys.c
View
plat/xilinx/zynqmp/pm_service/pm_ipi.c
View
plat/xilinx/zynqmp/pm_service/pm_ipi.h