KVM: SVM: Fix an STI shadow on VMRUN bug
Status from this message: Applied to kvm-x86 fixes, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesApplied
- v12 patches 1 replySuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI shadowarch/ arch/ | +15 | 1 reply | |
| 2/2 | KVM: selftests: Assert that STI blocking isn't set after event injectiontools/ | +2 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jim Mattson |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] KVM: SVM: Fix an STI shadow on VMRUN bug
Fix a bug where KVM puts VMRUN in an STI shadow, which AMD CPUs bleed into guest state if a #VMEXIT occurs before completing the VMRUN, e.g. if vectoring an injected exception triggers an exit.
v2: Use "raw" variants to avoid tracing in noinstr code. [kernel test robot]
v1: https://lore.kernel.org/all/[email protected]
Sean Christopherson (2):
KVM: SVM: Set RFLAGS.IF=1 in C code, to get VMRUN out of the STI
shadow
KVM: selftests: Assert that STI blocking isn't set after event
injection
arch/x86/kvm/svm/svm.c | 14 ++++++++++++++ arch/x86/kvm/svm/vmenter.S | 10 +--------- .../selftests/kvm/x86/nested_exceptions_test.c | 2 ++ 3 files changed, 17 insertions(+), 9 deletions(-)
base-commit: fed48e2967f402f561d80075a20c5c9e16866e53
Signature · 1 line
2.48.1.601.g30ceb7b040-goog