]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(tcr2): support FEAT_TCR2
authorMark Brown <broonie@kernel.org>
Tue, 14 Mar 2023 20:13:03 +0000 (20:13 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 16 Mar 2023 16:45:31 +0000 (16:45 +0000)
commitd3331603664ca7d4ab1510df09e722e6ffb1df29
tree9a61175c48c3511fcf8e4ac10f5d4cc2d180b1af
parent4c985e867469523f91588a2f76bbb5ee5ca53d05
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
Makefile
common/feat_detect.c
docs/getting_started/build-options.rst
include/arch/aarch64/arch.h
include/arch/aarch64/arch_features.h
include/arch/aarch64/arch_helpers.h
include/lib/el3_runtime/aarch64/context.h
lib/el3_runtime/aarch64/context_mgmt.c
make_helpers/defaults.mk
plat/arm/board/fvp/platform.mk