arm-trusted-firmware/lib/psci
Jayanth Dodderi Chidanand 777f1f6897 fix(spe): invoke spe_disable during power domain off/suspend
spe_disable function, disables profiling and flushes all the buffers and
hence needs to be called on power-off/suspend path.
It needs to be invoked as SPE feature writes to memory as part of
regular operation and not disabling before exiting coherency
could potentially cause issues.

Currently, this is handled only for the FVP. Other platforms need
to replicate this behaviour and is covered as part of this patch.

Calling it from generic psci library code, before the platform specific
actions to turn off the CPUs, will make it applicable for all the
platforms which have ported the PSCI library.

Change-Id: I90b24c59480357e2ebfa3dfc356c719ca935c13d
Signed-off-by: Jayanth Dodderi Chidanand <jayanthdodderi.chidanand@arm.com>
2024-02-02 20:06:28 +00:00
..
aarch32 chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
aarch64 chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
psci_common.c fix(spe): invoke spe_disable during power domain off/suspend 2024-02-02 20:06:28 +00:00
psci_lib.mk build(psci): move runtime_errata.S to PSCI 2023-05-03 15:36:08 +02:00
psci_main.c fix(smccc): ensure that mpidr passed through SMC is valid 2023-11-06 20:43:38 +00:00
psci_mem_protect.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
psci_off.c fix(psci): add optional pwr_domain_validate_suspend to plat_psci_ops_t 2023-05-31 23:54:19 -07:00
psci_on.c fix(smccc): ensure that mpidr passed through SMC is valid 2023-11-06 20:43:38 +00:00
psci_private.h fix(smccc): ensure that mpidr passed through SMC is valid 2023-11-06 20:43:38 +00:00
psci_setup.c chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
psci_stat.c fix(smccc): ensure that mpidr passed through SMC is valid 2023-11-06 20:43:38 +00:00
psci_suspend.c refactor(psci): extract cm_prepare_el3_exit_ns() to a common location 2023-07-24 11:04:44 +01:00
psci_system_off.c Don't return error information from console_flush 2020-10-09 10:21:50 -05:00