diff options
author | Qingfang Deng <dqfext@gmail.com> | 2024-02-26 16:38:52 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2024-03-23 20:00:49 +0100 |
commit | 54f9744c820a6090e0c06574684c33e3e611939d (patch) | |
tree | 94634e27aefe140bb84016b3ebd31562164f53b0 /target/linux/bcm27xx | |
parent | a693291ca9da031e168d802a5570c1a4bdfe0658 (diff) | |
download | openwrt-54f9744c820a6090e0c06574684c33e3e611939d.tar.gz openwrt-54f9744c820a6090e0c06574684c33e3e611939d.tar.bz2 openwrt-54f9744c820a6090e0c06574684c33e3e611939d.zip |
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 <dqfext@gmail.com>
Diffstat (limited to 'target/linux/bcm27xx')
-rw-r--r-- | target/linux/bcm27xx/bcm2709/config-6.1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/bcm27xx/bcm2709/config-6.1 b/target/linux/bcm27xx/bcm2709/config-6.1 index 4d307add54..58d695cff3 100644 --- a/target/linux/bcm27xx/bcm2709/config-6.1 +++ b/target/linux/bcm27xx/bcm2709/config-6.1 @@ -241,7 +241,8 @@ CONFIG_GPIO_BCM_VIRT=y CONFIG_GPIO_CDEV=y # CONFIG_GPIO_FSM is not set CONFIG_GPIO_RASPBERRYPI_EXP=y -CONFIG_HARDEN_BRANCH_PREDICTOR=y +# CONFIG_HARDEN_BRANCH_HISTORY is not set +# CONFIG_HARDEN_BRANCH_PREDICTOR is not set CONFIG_HARDIRQS_SW_RESEND=y CONFIG_HAS_DMA=y CONFIG_HAS_IOMEM=y |