arm-trusted-firmware/lib/el3_runtime/aarch64
Julius Werner 24f671f3a9 context_mgmt: Fix HANDLE_EA_EL3_FIRST implementation
This patch fixes a bug in the context management code that causes it to
ignore the HANDLE_EA_EL3_FIRST compile-time option and instead always
configure SCR_EL3 to force all external aborts to trap into EL3. The
code used #ifdef to read compile-time option declared with add_define in
the Makefile... however, those options are always defined, they're just
defined to either 0 or 1, so #if is the correct syntax to check for
them. Also update the documentation to match.

This bug has existed since the Nov 2017 commit 76454abf4 (AArch64:
Introduce External Abort handling), which changed the
HANDLE_EA_EL3_FIRST option to use add_define.

Change-Id: I7189f41d0daee78fa2fcf4066323e663e1e04d3d
Signed-off-by: Julius Werner <jwerner@chromium.org>
2018-08-29 17:16:20 -07:00
..
context.S Add support for dynamic mitigation for CVE-2018-3639 2018-05-23 12:45:48 +01:00
context_mgmt.c context_mgmt: Fix HANDLE_EA_EL3_FIRST implementation 2018-08-29 17:16:20 -07:00
cpu_data.S cpu log buffer size depends on cache line size 2017-09-01 10:22:20 +02:00