arm-trusted-firmware/services/std_svc
Rakshit Goyal 8f60d99f44 fix(spmd): prevent SIMD context loss
When SPMD_SPM_AT_SEL2 is enabled, saving and restoring the SIMD context
is not needed because the SPMC handles it. The function
spmd_secure_interrupt_handler incorrectly restores the SWD SIMD context
before entering the SPMC without saving the NWD SIMD context, leading to
its loss. Furthermore, the SWD SIMD context is saved after returning
from the SPMC which is unnecessary.

This commit prevents the restoration of the SWD SIMD context before SPMC
entry and the saving of the SWD SIMD context after returning from the
SPMC when SPMD_SPM_AT_SEL2 is enabled. This ensures the preservation of
the NWD SIMD context.

Change-Id: I16a3e698e61da7019b3a670475e542d1690a5dd9
Signed-off-by: Rakshit Goyal <rakshit.goyal@arm.com>
2025-02-13 08:48:44 +00:00
..
drtm perf(psci): pass my_core_pos around instead of calling it repeatedly 2025-01-14 10:02:00 +00:00
errata_abi refactor(errata-abi): move EXTRACT_PARTNUM to arch.h 2024-08-17 09:38:31 +01:00
rmmd feat(pmuv3): setup per world MDCR_EL3 2025-01-24 10:09:08 +00:00
sdei fix(sdei): fix a crash when attempting to bind more events than are available 2024-08-27 09:11:26 +01:00
spm Merge "fix(el3-spmc): move ERROR line inside conditional" into integration 2025-01-29 00:52:43 +01:00
spmd fix(spmd): prevent SIMD context loss 2025-02-13 08:48:44 +00:00
trng refactor(trng): discarding the used entropy bits 2022-11-14 10:08:56 +00:00
pci_svc.c SMCCC/PCI: Handle std svc boilerplate 2021-05-25 14:49:08 +02:00
std_svc_setup.c fix(std_svc): continue boot if rmmd_setup fails 2024-07-21 11:41:14 +00:00