summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/process.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-06-15 00:15:53 +0300
committerBorislav Petkov <bp@suse.de>2022-06-27 11:33:59 +0300
commit2dbb887e875b1de3ca8f40ddf26bcfe55798c609 (patch)
tree1f56e999ec2820a42d3020e89ebf0b489d34fdf8 /arch/x86/kernel/process.c
parentcaa0ff24d5d0e02abce5e65c3d2b7f20a6617be5 (diff)
downloadlinux-2dbb887e875b1de3ca8f40ddf26bcfe55798c609.tar.xz
x86/entry: Add kernel IBRS implementation
Implement Kernel IBRS - currently the only known option to mitigate RSB underflow speculation issues on Skylake hardware. Note: since IBRS_ENTER requires fuller context established than UNTRAIN_RET, it must be placed after it. However, since UNTRAIN_RET itself implies a RET, it must come after IBRS_ENTER. This means IBRS_ENTER needs to also move UNTRAIN_RET. Note 2: KERNEL_IBRS is sub-optimal for XenPV. 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>
Diffstat (limited to 'arch/x86/kernel/process.c')
0 files changed, 0 insertions, 0 deletions