summaryrefslogtreecommitdiff
path: root/make_helpers
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2023-03-14 20:13:03 +0000
committerMark Brown <broonie@kernel.org>2023-03-16 16:45:31 +0000
commitd3331603664ca7d4ab1510df09e722e6ffb1df29 (patch)
tree9a61175c48c3511fcf8e4ac10f5d4cc2d180b1af /make_helpers
parent4c985e867469523f91588a2f76bbb5ee5ca53d05 (diff)
downloadarm-trusted-firmware-d3331603664ca7d4ab1510df09e722e6ffb1df29.tar.gz
feat(tcr2): support FEAT_TCR2
Arm v8.9 introduces FEAT_TCR2, adding extended translation control registers. Support this, context switching TCR2_EL2 and disabling traps so lower ELs can access the new registers. Change the FVP platform to default to handling this as a dynamic option so the right decision can be made by the code at runtime. Signed-off-by: Mark Brown <broonie@kernel.org> Change-Id: I297452acd8646d58bac64fc15e05b06a543e5148
Diffstat (limited to 'make_helpers')
-rw-r--r--make_helpers/defaults.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk
index a66123a7d..cf1c2156e 100644
--- a/make_helpers/defaults.mk
+++ b/make_helpers/defaults.mk
@@ -176,6 +176,9 @@ ENABLE_FEAT_VHE := 0
# Flag to enable delayed trapping of WFE instruction (FEAT_TWED)
ENABLE_FEAT_TWED := 0
+# Flag to enable access to TCR2 (FEAT_TCR2)
+ENABLE_FEAT_TCR2 := 0
+
# By default BL31 encryption disabled
ENCRYPT_BL31 := 0