]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(fvp): enable FEAT_FGT 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)
commit15107daad6b83b4ee1edfebf420b6779a054318e
treebe6a9fb7343240dcd161dd6ab855fda32c0c78da
parentbb7b85a397f4eddef84b2deaa8f3f7a66cb3a09b
feat(fvp): enable FEAT_FGT by default

FEAT_FGT 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_FGT
enabled.

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