diff options
author | Paolo Bonzini <[email protected]> | 2018-02-22 16:43:17 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-02-23 08:24:35 +0100 |
commit | ecb586bd29c99fb4de599dec388658e74388daad (patch) | |
tree | 5c309f49fee88e9690ead6beac4c9b3e70aa7d3c /lib/test-string_helpers.c | |
parent | d5028ba8ee5a18c9d0bb926d883c28b370f89009 (diff) |
KVM/x86: Remove indirect MSR op calls from SPEC_CTRL
Having a paravirt indirect call in the IBRS restore path is not a
good idea, since we are trying to protect from speculative execution
of bogus indirect branch targets. It is also slower, so use
native_wrmsrl() on the vmentry path too.
Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: KarimAllah Ahmed <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Fixes: d28b387fb74da95d69d2615732f50cceb38e9a4d
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions