From 54f9744c820a6090e0c06574684c33e3e611939d Mon Sep 17 00:00:00 2001 From: Qingfang Deng Date: Mon, 26 Feb 2024 16:38:52 +0800 Subject: treewide: disable spectre mitigation on unaffected Arm32 targets Cortex-A5 and Cortex-A7 are not vulnerable to any Spectre variants. Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability Signed-off-by: Qingfang Deng --- target/linux/imx/cortexa7/config-default | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/imx') diff --git a/target/linux/imx/cortexa7/config-default b/target/linux/imx/cortexa7/config-default index 10f23be435..9fd67a79bb 100644 --- a/target/linux/imx/cortexa7/config-default +++ b/target/linux/imx/cortexa7/config-default @@ -53,6 +53,8 @@ CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y +# CONFIG_HARDEN_BRANCH_HISTORY is not set +# CONFIG_HARDEN_BRANCH_PREDICTOR is not set CONFIG_HDMI=y CONFIG_HW_CONSOLE=y CONFIG_HW_RANDOM_IMX_RNGC=y -- cgit v1.2.3