UBUNTU: [Config] enable spectre_bhi=auto by default

BugLink: https://bugs.launchpad.net/bugs/2060909

Set Branch History Injection (BHI) mitigation to auto by default. This
will rely on the BHI_DIS_S hardware control, if it's available on the
system CPUs, otherwise a proper software sequence will be deployed at
VMexit to mitigate BHI.

This setting can be overridden at boot time via spectre_bhi=on|off|auto.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Andrea Righi
2024-04-10 21:25:37 +02:00
committed by Paolo Pisati
parent 4876d0b75a
commit 762d76d17e
+3
View File
@@ -13223,6 +13223,9 @@ CONFIG_SPEAKUP_SYNTH_LTLK policy<{'amd64': 'm', 'arm64': '
CONFIG_SPEAKUP_SYNTH_SOFT policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm'}>
CONFIG_SPEAKUP_SYNTH_SPKOUT policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm'}>
CONFIG_SPEAKUP_SYNTH_TXPRT policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm'}>
CONFIG_SPECTRE_BHI_AUTO policy<{'amd64': 'y'}>
CONFIG_SPECTRE_BHI_OFF policy<{'amd64': 'n'}>
CONFIG_SPECTRE_BHI_ON policy<{'amd64': 'n'}>
CONFIG_SPECULATION_MITIGATIONS policy<{'amd64': 'y'}>
CONFIG_SPI policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'ppc64el': 'y', 'riscv64': 'y', 's390x': 'n'}>
CONFIG_SPI_ALTERA policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'ppc64el': 'm', 'riscv64': 'm', 's390x': '-'}>