aboutsummaryrefslogtreecommitdiff
path: root/Documentation/bpf/map_queue_stack.rst
diff options
context:
space:
mode:
authorGravatar Pawan Gupta <pawan.kumar.gupta@linux.intel.com> 2024-03-11 08:57:05 -0700
committerGravatar Thomas Gleixner <tglx@linutronix.de> 2024-04-08 19:27:05 +0200
commitec9404e40e8f36421a2b66ecb76dc2209fe7f3ef (patch)
treecd708b3c092d7c6809a516cde3f3719c4d8aca06 /Documentation/bpf/map_queue_stack.rst
parentx86/bhi: Enumerate Branch History Injection (BHI) bug (diff)
downloadlinux-ec9404e40e8f36421a2b66ecb76dc2209fe7f3ef.tar.gz
linux-ec9404e40e8f36421a2b66ecb76dc2209fe7f3ef.tar.bz2
linux-ec9404e40e8f36421a2b66ecb76dc2209fe7f3ef.zip
x86/bhi: Add BHI mitigation knob
Branch history clearing software sequences and hardware control BHI_DIS_S were defined to mitigate Branch History Injection (BHI). Add cmdline spectre_bhi={on|off|auto} to control BHI mitigation: auto - Deploy the hardware mitigation BHI_DIS_S, if available. on - Deploy the hardware mitigation BHI_DIS_S, if available, otherwise deploy the software sequence at syscall entry and VMexit. off - Turn off BHI mitigation. The default is auto mode which does not deploy the software sequence mitigation. This is because of the hardening done in the syscall dispatch path, which is the likely target of BHI. Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com> Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com> Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Diffstat (limited to 'Documentation/bpf/map_queue_stack.rst')
0 files changed, 0 insertions, 0 deletions