summaryrefslogtreecommitdiff
path: root/recipes-kernel
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-05-31 18:55:59 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2022-05-31 18:55:59 +0200
commitad26f3fb52459393725e3adc87af476ad11d95c7 (patch)
treed7e171c8851718cc3399708db90608a5907be2e2 /recipes-kernel
parent8e2bc01ca8bac33c2fab0943cbed1e582d8e4180 (diff)
tegra124: defconfig: disable spectre harden branch predictor and history
Disable CONFIG_HARDEN_BRANCH_PREDICTOR and CONFIG_HARDEN_BRANCH_HISTORY to avoid constant log spew as follows: [ 6.137859] CPU1: Spectre BHB: using loop workaround [ 6.141996] CPU0: Spectre BHB: using loop workaround [ 6.149010] CPU2: Spectre BHB: using loop workaround ... Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-toradex-mainline-git/tegra124/defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-toradex-mainline-git/tegra124/defconfig b/recipes-kernel/linux/linux-toradex-mainline-git/tegra124/defconfig
index 8a36e8f..5b37150 100644
--- a/recipes-kernel/linux/linux-toradex-mainline-git/tegra124/defconfig
+++ b/recipes-kernel/linux/linux-toradex-mainline-git/tegra124/defconfig
@@ -20,6 +20,8 @@ CONFIG_EMBEDDED=y
CONFIG_PERF_EVENTS=y
CONFIG_SLAB=y
CONFIG_ARCH_TEGRA=y
+# CONFIG_HARDEN_BRANCH_PREDICTOR is not set
+# CONFIG_HARDEN_BRANCH_HISTORY is not set
CONFIG_SMP=y
CONFIG_HIGHMEM=y
CONFIG_KEXEC=y