]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(amu): unify ENABLE_AMU and ENABLE_FEAT_AMUv1
authorAndre Przywara <andre.przywara@arm.com>
Tue, 21 Mar 2023 13:53:19 +0000 (13:53 +0000)
committerManish Pandey <manish.pandey2@arm.com>
Mon, 27 Mar 2023 18:36:00 +0000 (19:36 +0100)
commitd23acc9e4f94d95280ee7985e3f96482eb7fe04d
treefcdaca586dc8781d27b0fc76a5739c66eaea5ed9
parent82f5b5098b7674f5b8c6b1e3cd24902b6a508f5a
refactor(amu): unify ENABLE_AMU and ENABLE_FEAT_AMUv1

So far we have the ENABLE_AMU build option to include AMU register
handling code for enabling and context switch. There is also an
ENABLE_FEAT_AMUv1 option, solely to protect the HAFGRTR_EL2 system
register handling. The latter needs some alignment with the new feature
scheme, but it conceptually overlaps with the ENABLE_AMU option.

Since there is no real need for two separate options, unify both into a
new ENABLE_FEAT_AMU name in a first step. This is mostly just renaming at
this point, a subsequent patch will make use of the new feature handling
scheme.

Change-Id: I97d8a55bdee2ed1e1509fa9f2b09fd0bdd82736e
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
26 files changed:
Makefile
bl31/bl31.mk
bl32/sp_min/sp_min.mk
common/feat_detect.c
docs/components/activity-monitors.rst
docs/getting_started/build-options.rst
include/arch/aarch64/arch_features.h
lib/cpus/aarch64/cortex_a75.S
lib/cpus/aarch64/cortex_a78.S
lib/cpus/aarch64/cortex_a78_ae.S
lib/cpus/aarch64/neoverse_n1.S
lib/cpus/aarch64/neoverse_n2.S
lib/cpus/aarch64/rainier.S
lib/el3_runtime/aarch32/context_mgmt.c
lib/el3_runtime/aarch64/context_mgmt.c
lib/extensions/amu/amu.mk
make_helpers/defaults.mk
plat/arm/board/arm_fpga/platform.mk
plat/arm/board/fvp/platform.mk
plat/arm/board/fvp_r/platform.mk
plat/arm/board/rdn2/platform.mk
plat/arm/board/rdv1/platform.mk
plat/arm/board/rdv1mc/platform.mk
plat/arm/board/tc/platform.mk
plat/mediatek/common/common_config.mk
plat/qti/msm8916/platform.mk