summaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/mt7622
diff options
context:
space:
mode:
authorQingfang Deng <dqfext@gmail.com>2024-02-26 16:38:53 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2024-03-23 20:00:49 +0100
commit6b007d2512ad02d08f7e9fc7ad74801ce1330924 (patch)
treef71cebe2e8e6bc8c13136814c186a2a8601d991b /target/linux/mediatek/mt7622
parent54f9744c820a6090e0c06574684c33e3e611939d (diff)
downloadopenwrt-6b007d2512ad02d08f7e9fc7ad74801ce1330924.tar.gz
openwrt-6b007d2512ad02d08f7e9fc7ad74801ce1330924.tar.bz2
openwrt-6b007d2512ad02d08f7e9fc7ad74801ce1330924.zip
treewide: disable spectre mitigation on unaffected Arm64 targets
Cortex-A53 is 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/mediatek/mt7622')
-rw-r--r--target/linux/mediatek/mt7622/config-6.11
-rw-r--r--target/linux/mediatek/mt7622/config-6.61
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/mediatek/mt7622/config-6.1 b/target/linux/mediatek/mt7622/config-6.1
index 84af474e52..f10f1f7204 100644
--- a/target/linux/mediatek/mt7622/config-6.1
+++ b/target/linux/mediatek/mt7622/config-6.1
@@ -234,6 +234,7 @@ CONFIG_MEMFD_CREATE=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7
CONFIG_MFD_SYSCON=y
CONFIG_MIGRATION=y
+# CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY is not set
CONFIG_MMC=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_CQHCI=y
diff --git a/target/linux/mediatek/mt7622/config-6.6 b/target/linux/mediatek/mt7622/config-6.6
index 8eb7158914..0dc30969b0 100644
--- a/target/linux/mediatek/mt7622/config-6.6
+++ b/target/linux/mediatek/mt7622/config-6.6
@@ -248,6 +248,7 @@ CONFIG_MEDIATEK_WATCHDOG=y
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7
CONFIG_MFD_SYSCON=y
CONFIG_MIGRATION=y
+# CONFIG_MITIGATE_SPECTRE_BRANCH_HISTORY is not set
CONFIG_MMC=y
CONFIG_MMC_BLOCK=y
CONFIG_MMC_CQHCI=y