]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(fvp): enable FEAT_HCX by default
authorAndre Przywara <andre.przywara@arm.com>
Thu, 10 Nov 2022 14:42:07 +0000 (14:42 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 11 Jan 2023 16:02:58 +0000 (16:02 +0000)
commit2e1241888ee82a5a9b3b30acd83a1f4ea6732f1b
treef9cf21a1c2ba797aabb7f1a1a15c1b116bff23be
parentc5a3ebbd3a55eee2b29e1b887fd111b3b40487c4
feat(fvp): enable FEAT_HCX by default

FEAT_HCX is one of the features for which Linux necessarily requires EL3
enablement, when the feature is present on a PE.

To cover the effect of different FVP command line parameters, include
the feature into the standard FVP build, but use FEAT_STATE_CHECK, to
always do runtime checks before accessing feature specific registers.

This prevents a Linux crash when the FVP is called with FEAT_HCX
enabled.

Change-Id: I01aaed15c5a6850176d092b2f0157744fe0a9e13
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
plat/arm/board/fvp/platform.mk