AArch64: Enable lower ELs to use pointer authentication
Pointer authentication is an Armv8.3 feature that introduces
instructions that can be used to authenticate and verify pointers.

Pointer authentication instructions are allowed to be accessed from all
ELs but only when EL3 explicitly allows for it; otherwise, their usage
will trap to EL3. Since EL3 doesn't have trap handling in place, this
patch unconditionally disables all related traps to EL3 to avoid
potential misconfiguration leading to an unhandled EL3 exception.

Fixes ARM-software/tf-issues#629

Change-Id: I9bd2efe0dc714196f503713b721ffbf05672c14d
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
1 parent 0a09313 commit 3ff4aaaca44b75504aec5ab5b72cd587a6fcd432
@Jeenu Viswambharan Jeenu Viswambharan authored on 15 Aug 2018
Showing 4 changed files
View
docs/firmware-design.rst
View
include/common/aarch64/el3_common_macros.S
View
include/lib/aarch64/arch.h
View
lib/el3_runtime/aarch64/context_mgmt.c