mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2026-07-05 14:01:21 +00:00
There are a number of workarounds for CVEs related to sidechannel attacks on some CPU cores, most of them listed here: https://developer.arm.com/documentation/110280/latest/ Also there are two other CVEs: https://developer.arm.com/documentation/110324/latest/ https://developer.arm.com/documentation/110326/latest/ As these page reveals, those workaround do not apply to the Cortex-A53 (or A55) cores, so we can safely disable them in the Allwinner build recipes, since they only use those two cores so far. Also disable FEAT_MPAM, which is one of the only three later features that are enabled default, but are not enabled in Cortex-A53 or A55 cores. Use the opportunity to group those options together and improve the comment. This decreases the code size by a few hundred bytes. Change-Id: Ibc52a4fc9b8f5d9b2b28a2ce13d3ab99b63e9640 Signed-off-by: Andre Przywara <andre.przywara@arm.com>