arm-trusted-firmware/services/std_svc/spmd
johpow01 dc78e62d80 feat(sme): enable SME functionality
This patch adds two new compile time options to enable SME in TF-A:
ENABLE_SME_FOR_NS and ENABLE_SME_FOR_SWD for use in non-secure and
secure worlds respectively. Setting ENABLE_SME_FOR_NS=1 will enable
SME for non-secure worlds and trap SME, SVE, and FPU/SIMD instructions
in secure context. Setting ENABLE_SME_FOR_SWD=1 will disable these
traps, but support for SME context management does not yet exist in
SPM so building with SPD=spmd will fail.

The existing ENABLE_SVE_FOR_NS and ENABLE_SVE_FOR_SWD options cannot
be used with SME as it is a superset of SVE and will enable SVE and
FPU/SIMD along with SME.

Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: Iaaac9d22fe37b4a92315207891da848a8fd0ed73
2021-11-12 10:38:00 -06:00
..
aarch64 SPMD: add SPM dispatcher based upon SPCI Beta 0 spec 2020-02-10 14:09:21 +00:00
spmd.mk feat(sme): enable SME functionality 2021-11-12 10:38:00 -06:00
spmd_main.c fix(spmd): error macro to use correct print format 2021-11-09 15:44:24 +01:00
spmd_pm.c fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
spmd_private.h feat(SPMD): route secure interrupts to SPMC 2021-11-03 15:42:21 -05:00