Enable MTE support in both secure and non-secure worlds
authorJustin Chadwell <justin.chadwell@arm.com>
Thu, 18 Jul 2019 13:25:33 +0000 (14:25 +0100)
committerJustin Chadwell <justin.chadwell@arm.com>
Mon, 9 Sep 2019 15:23:33 +0000 (16:23 +0100)
commit9dd94382bd23db0fa201b254dc3f1bebdfd627c2
treee7c745457b0027bc4b3a4906d599605a0ccdeac4
parent5dbdf8e4eac1d5999f07976f9f430894b0784907
Enable MTE support in both secure and non-secure worlds

This patch adds support for the new Memory Tagging Extension arriving in
ARMv8.5. MTE support is now enabled by default on systems that support
at EL0. To enable it at ELx for both the non-secure and the secure
world, the compiler flag CTX_INCLUDE_MTE_REGS includes register saving
and restoring when necessary in order to prevent register leakage
between the worlds.

Change-Id: I2d4ea993d6b11654ea0d4757d00ca20d23acf36c
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
Makefile
bl32/tsp/tsp_main.c
include/arch/aarch64/arch.h
include/arch/aarch64/arch_helpers.h
include/lib/el3_runtime/aarch64/context.h
lib/el3_runtime/aarch64/context.S
lib/el3_runtime/aarch64/context_mgmt.c
make_helpers/defaults.mk