arm-trusted-firmware/lib/psci
Boyan Karatotev 3b8021058a perf(psci): pass my_core_pos around instead of calling it repeatedly
On some platforms plat_my_core_pos is a nontrivial function that takes a
bit of time and the compiler really doesn't like to inline. In the PSCI
library, at least, we have no need to keep repeatedly calling it and we
can instead pass it around as an argument. This saves on a lot of
redundant calls, speeding the library up a bit.

Change-Id: I137f69bea80d7cac90d7a20ffe98e1ba8d77246f
Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
2025-01-14 10:02:00 +00: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 perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00:00
psci_lib.mk chore(cpus): optimise runtime errata applications 2024-10-16 13:59:57 +01:00
psci_main.c perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +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 perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00: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 perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00:00
psci_setup.c perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00:00
psci_stat.c perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00:00
psci_suspend.c perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00:00
psci_system_off.c Don't return error information from console_flush 2020-10-09 10:21:50 -05:00