arm-trusted-firmware/bl31
Madhukar Pappireddy 308ebfa188 feat(simd): introduce simd context helper APIs
This patch adds the common API to save and restore FP and SVE. When SVE
is enabled we save and restore SVE which automatically covers FP. If FP
is enabled while SVE is not, then we save and restore FP only.

The patch uses simd_ctx_t to save and restore both FP and SVE which
means developers need not use fp or sve routines directly. Once all the
calls to fpregs_context_* are replaced with simd_ctx_*, we can remove
fp_regs_t data structure and macros (taken care in a following patch).

simd_ctx_t is currently allocated in section of its own. This will go
into  BSS section by default but platform will have option of relocating
it to a different section by overriding in plat.ld.S.

Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Signed-off-by: Okash Khawaja <okash@google.com>
Change-Id: I090f8b8fa3862e527b6c40385249adc69256bf24
2024-08-19 11:10:10 -05:00
..
aarch64 refactor(cpus): replace adr with adr_l 2024-05-03 14:08:13 +02:00
bl31.ld.S feat(build): check that .text section starts at page boundary 2023-11-06 23:22:25 +03:00
bl31.mk feat(simd): introduce simd context helper APIs 2024-08-19 11:10:10 -05:00
bl31_context_mgmt.c feat(rme): add context management changes for FEAT_RME 2021-10-05 18:41:35 +02:00
bl31_main.c Merge changes from topic "early_console" into integration 2024-05-08 23:12:11 +02:00
bl31_traps.c refactor(cpufeat): add macro to simplify is_feat_xx_present 2024-05-02 12:16:16 -05:00
ehf.c fix(gic600): workaround for Part 1 of GIC600 erratum 2384374 2024-03-06 14:16:35 -06:00
interrupt_mgmt.c fix(misra): fix MISRA defects 2024-03-07 09:38:27 -06:00