arm-trusted-firmware/plat/common
Manish Pandey 9202d51990 refactor(ras): replace RAS_EXTENSION with FEAT_RAS
The current usage of RAS_EXTENSION in TF-A codebase is to cater for two
things in TF-A :
1. Pull in necessary framework and platform hooks for Firmware first
   handling(FFH) of RAS errors.
2. Manage the FEAT_RAS extension when switching the worlds.

FFH means that all the EAs from NS are trapped in EL3 first and signaled
to NS world later after the first handling is done in firmware. There is
an alternate way of handling RAS errors viz Kernel First handling(KFH).
Tying FEAT_RAS to RAS_EXTENSION build flag was not correct as the
feature is needed for proper handling KFH in as well.

This patch breaks down the RAS_EXTENSION flag into a flag to denote the
CPU architecture `ENABLE_FEAT_RAS` which is used in context management
during world switch and another flag `RAS_FFH_SUPPORT` to pull in
required framework and platform hooks for FFH.

Proper support for KFH will be added in future patches.

BREAKING CHANGE: The previous RAS_EXTENSION is now deprecated. The
equivalent functionality can be achieved by the following
2 options:
 - ENABLE_FEAT_RAS
 - RAS_FFH_SUPPORT

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: I1abb9ab6622b8f1b15712b12f17612804d48a6ec
2023-05-09 13:19:22 +01:00
..
aarch32 build: always prefix section names with . 2023-02-20 18:29:33 +00:00
aarch64 refactor(ras): replace RAS_EXTENSION with FEAT_RAS 2023-05-09 13:19:22 +01:00
tbbr Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_bl1_common.c refactor(measured_boot): remove passing of BL2 hash via device tree 2021-10-12 17:53:47 +01:00
plat_bl_common.c SMCCC: Introduce function to check SMCCC function availability 2020-07-26 08:16:29 +01:00
plat_gicv2.c feat(gic): add APIs to raise NS and S-EL1 SGIs 2022-09-14 16:08:29 +02:00
plat_gicv3.c refactor(libc): clean up dependencies in libc 2022-09-22 13:23:49 +02:00
plat_log_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_psci_common.c Flush dcache when storing timestamp 2020-03-27 09:41:12 -05:00
plat_spmd_manifest.c feat(spmd): map SPMC manifest region as EL3_PAS 2023-02-07 11:26:38 +00:00
ubsan.c Add UBSAN support and handlers 2019-09-11 14:15:54 +01:00