arm-trusted-firmware/lib/psci
Harrison Mutai 695a48b5b4 fix(psci): tighten psci_power_down_wfi behaviour
A processing element should never return from a wfi, however, due to a
hardware bug, certain CPUs may wake up because of an external event.
This patch tightens the behaviour of the common power down sequence, it
ensures the routine never returns by entering a wfi loop at its end. It
aligns with the behaviour of the platform implementations.

Change-Id: I36d8b0c64eccb71035bf164b4cd658d66ed7beb4
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>
2023-01-23 17:25:40 +00:00
..
aarch32 fix(psci): tighten psci_power_down_wfi behaviour 2023-01-23 17:25:40 +00:00
aarch64 fix(psci): tighten psci_power_down_wfi behaviour 2023-01-23 17:25:40 +00:00
psci_common.c refactor(psci): unify psci_is_last_on_cpu and psci_is_last_on_cpu_safe 2022-09-29 16:37:34 +01:00
psci_lib.mk mem_protect: Add mem_protect API 2017-09-25 13:32:20 +01:00
psci_main.c refactor(psci): unify psci_is_last_on_cpu and psci_is_last_on_cpu_safe 2022-09-29 16:37:34 +01:00
psci_mem_protect.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
psci_off.c refactor(psci): move psci_do_pwrdown_sequence() out of private header 2022-09-15 18:09:56 +05:30
psci_on.c refactor(context mgmt): add cm_prepare_el3_exit_ns function 2022-04-12 17:42:11 +02:00
psci_private.h refactor(psci): unify psci_is_last_on_cpu and psci_is_last_on_cpu_safe 2022-09-29 16:37:34 +01:00
psci_setup.c feat(psci): require validate_power_state to expose CPU_SUSPEND 2021-10-15 14:13:54 +02:00
psci_stat.c Unify type of "cpu_idx" across PSCI module. 2020-01-10 17:11:51 +00:00
psci_suspend.c refactor(psci): move psci_do_pwrdown_sequence() out of private header 2022-09-15 18:09:56 +05:30
psci_system_off.c Don't return error information from console_flush 2020-10-09 10:21:50 -05:00