arm-trusted-firmware/plat/marvell/a3700/common
Grzegorz Jaszczyk 9cb6751d59 plat: marvell: a3700: do not power off cpu due to errata ref #13
Do not power off the CPU1 since there is no way to wake it up
(wake-up is causing CPU0 reset as well duo to HW bug). Quote from errata
Ref #13 [In power saving mode, both cores must be powered off]:
"When Core 0 is on and Core 1 is in power-off state, a Core 1
wake-up resets Core 0 as well and puts Core 0 back to ROM".

To overcome described HW bug instead of powering the CPU off, let it
reach WFI instruction, which is invoked by generic psci_do_cpu_off
function after platform handler finishes. This will put the core in low
power state and give a chance to wake it up.

Before this change, after running secondary kernel via kexec, only one
core was up, now both cores are up.

Change-Id: I87f144867550728055d9b8a2edb84a14539acab7
Signed-off-by: Grzegorz Jaszczyk <jaz@semihalf.com>
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
2018-12-04 14:09:44 +02:00
..
aarch64 plat: marvell: Add support for Armada-37xx SoC platform 2018-10-31 18:01:09 +02:00
include Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
a3700_common.mk plat/marvell: Migrate to multi-console API 2018-11-15 13:42:45 +02:00
a3700_sip_svc.c plat: marvell: Add support for Armada-37xx SoC platform 2018-10-31 18:01:09 +02:00
dram_win.c plat: marvell: Add support for Armada-37xx SoC platform 2018-10-31 18:01:09 +02:00
io_addr_dec.c plat: marvell: Add support for Armada-37xx SoC platform 2018-10-31 18:01:09 +02:00
marvell_plat_config.c plat: marvell: Add support for Armada-37xx SoC platform 2018-10-31 18:01:09 +02:00
plat_pm.c plat: marvell: a3700: do not power off cpu due to errata ref #13 2018-12-04 14:09:44 +02:00