AArch64: Introduce RAS handling
RAS extensions are mandatory for ARMv8.2 CPUs, but are also optional
extensions to base ARMv8.0 architecture.

This patch adds build system support to enable RAS features in ARM
Trusted Firmware. A boolean build option RAS_EXTENSION is introduced for
this.

With RAS_EXTENSION, an Exception Synchronization Barrier (ESB) is
inserted at all EL3 vector entry and exit. ESBs will synchronize pending
external aborts before entering EL3, and therefore will contain and
attribute errors to lower EL execution. Any errors thus synchronized are
detected via. DISR_EL1 register.

When RAS_EXTENSION is set to 1, HANDLE_EL3_EA_FIRST must also be set to 1.

Change-Id: I38a19d84014d4d8af688bd81d61ba582c039383a
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
1 parent 76454ab commit 14c6016ad5ff4ac22861dff03129a646ad02c6dd
@Jeenu Viswambharan Jeenu Viswambharan authored on 4 Apr 2018
Showing 8 changed files
View
Makefile
View
bl31/aarch64/runtime_exceptions.S
View
docs/user-guide.rst
View
include/bl31/ea_handle.h
View
include/common/aarch64/asm_macros.S
View
include/lib/aarch64/arch.h
View
lib/el3_runtime/aarch64/context.S
View
make_helpers/defaults.mk