]> git.baikalelectronics.ru Git - kernel.git/commit
x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>
Tue, 14 Jun 2022 21:15:55 +0000 (23:15 +0200)
committerBorislav Petkov <bp@suse.de>
Mon, 27 Jun 2022 08:33:59 +0000 (10:33 +0200)
commitc3c18d0c9add4b6300954ba84fdf71bda793e913
treefba33f356c8c7a3db8efd45f6fa5ed364912ebab
parent5d6c61ddf804e523f70862380f0f103fd3b107d5
x86/speculation: Add spectre_v2=ibrs option to support Kernel IBRS

Extend spectre_v2= boot option with Kernel IBRS.

  [jpoimboe: no STIBP with IBRS]

Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Documentation/admin-guide/kernel-parameters.txt
arch/x86/include/asm/nospec-branch.h
arch/x86/kernel/cpu/bugs.c