arm-trusted-firmware/include/lib/extensions
johpow01 6cac724d52 Enable v8.6 WFE trap delays
This patch enables the v8.6 extension to add a delay before WFE traps
are taken. A weak hook plat_arm_set_twedel_scr_el3 has been added in
plat/common/aarch64/plat_common.c that disables this feature by default
but platform-specific code can override it when needed.

The only hook provided sets the TWED fields in SCR_EL3, there are similar
fields in HCR_EL2, SCTLR_EL2, and SCTLR_EL1 to control WFE trap delays in
lower ELs but these should be configured by code running at EL2 and/or EL1
depending on the platform configuration and is outside the scope of TF-A.

Signed-off-by: John Powell <john.powell@arm.com>
Change-Id: I0a9bb814205efeab693a3d0a0623e62144abba2d
2020-05-19 21:49:52 +00:00
..
amu.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
amu_private.h Fix MISRA defects in extension libs 2018-10-29 14:41:48 +00:00
mpam.h Fix MISRA defects in extension libs 2018-10-29 14:41:48 +00:00
pauth.h Refactor ARMv8.3 Pointer Authentication support code 2019-09-13 14:11:59 +01:00
ras.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
ras_arch.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
spe.h Fix MISRA defects in extension libs 2018-10-29 14:41:48 +00:00
sve.h Fix MISRA defects in extension libs 2018-10-29 14:41:48 +00:00
twed.h Enable v8.6 WFE trap delays 2020-05-19 21:49:52 +00:00