diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-06-14 23:15:52 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-06-27 10:33:59 +0200 |
commit | caa0ff24d5d0e02abce5e65c3d2b7f20a6617be5 (patch) | |
tree | 39290109cf141e2276936764ff738924cec26c2b /arch/x86/entry/calling.h | |
parent | x86/bugs: Enable STIBP for JMP2RET (diff) | |
download | linux-caa0ff24d5d0e02abce5e65c3d2b7f20a6617be5.tar.xz linux-caa0ff24d5d0e02abce5e65c3d2b7f20a6617be5.zip |
x86/bugs: Keep a per-CPU IA32_SPEC_CTRL value
Due to TIF_SSBD and TIF_SPEC_IB the actual IA32_SPEC_CTRL value can
differ from x86_spec_ctrl_base. As such, keep a per-CPU value
reflecting the current task's MSR content.
[jpoimboe: rename]
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/entry/calling.h')
0 files changed, 0 insertions, 0 deletions