arm-trusted-firmware/include
Antonio Nino Diaz 5283962eba Add ARMv8.3-PAuth registers to CPU context
ARMv8.3-PAuth adds functionality that supports address authentication of
the contents of a register before that register is used as the target of
an indirect branch, or as a load.

This feature is supported only in AArch64 state.

This feature is mandatory in ARMv8.3 implementations.

This feature adds several registers to EL1. A new option called
CTX_INCLUDE_PAUTH_REGS has been added to select if the TF needs to save
them during Non-secure <-> Secure world switches. This option must be
enabled if the hardware has the registers or the values will be leaked
during world switches.

To prevent leaks, this patch also disables pointer authentication in the
Secure world if CTX_INCLUDE_PAUTH_REGS is 0. Any attempt to use it will
be trapped in EL3.

Change-Id: I27beba9907b9a86c6df1d0c5bf6180c972830855
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2019-02-27 11:08:59 +00:00
..
arch Add ARMv8.3-PAuth registers to CPU context 2019-02-27 11:08:59 +00:00
bl1 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
bl2 Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl2u Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
bl31 Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
bl32 tlkd: support new TLK SMCs 2019-01-31 08:46:54 -08:00
common Merge pull request #1804 from antonio-nino-diaz-arm/an/cleanup 2019-02-05 11:31:15 +00:00
drivers stm32mp1: add minimal support for co-processor Cortex-M4 2019-02-20 17:34:21 +01:00
dt-bindings stm32mp1: update device tree files 2019-01-18 15:45:08 +01:00
lib Add ARMv8.3-PAuth registers to CPU context 2019-02-27 11:08:59 +00:00
plat Rename PLAT_ARM_BL31_RUN_UART* variable 2019-02-18 14:44:28 +00:00
services Remove support for the SMC Calling Convention 2.0 2019-01-30 16:01:49 +00:00
tools_share Sanitise includes across codebase 2019-01-04 10:43:17 +00:00