arm-trusted-firmware/lib/psci
Boyan Karatotev db9ee83432 chore(cpus): optimise runtime errata applications
The errata framework has a helper to invoke workarounds, complete with a
cpu rev_var check. We can use that directly instead of the
apply_cpu_pwr_dwn_errata to save on some code, as well as an extra
branch. It's also more readable.

Also, apply_erratum invocation in cpu files don't need to check the
rev_var as that was already done by the cpu_ops dispatcher for us to end
up in the file.

Finally, X2 erratum 2768515 only applies in the powerdown sequence, i.e.
at runtime. It doesn't achieve anything at reset, so we can label it
accordingly.

Change-Id: I02f9dd7d0619feb54c870938ea186be5e3a6ca7b
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
2024-10-16 13:59:57 +01:00
..
aarch32 chore: update to use Arm word across TF-A 2023-08-08 15:12:30 +01:00
aarch64 chore(cpus): optimise runtime errata applications 2024-10-16 13:59:57 +01:00
psci_common.c fix(psci): fix parent parsing in psci_is_last_cpu_to_idle_at_pwrlvl 2024-08-06 09:20:29 +01:00
psci_lib.mk chore(cpus): optimise runtime errata applications 2024-10-16 13:59:57 +01: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