KVM: x86: WRMSR MCi_CTL/STATUS bug fix and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | KVM: x86: Signal #GP, not -EPERM, on bad WRMSR(MCi_CTL/STATUS)arch/ | +2 | 1 reply | |
| 2/3 | KVM: x86: Use explicit case-statements for MCx banks in {g,s}et_msr_mce()arch/ | +37 | 1 reply | |
| 3/3 | KVM: x86: Add helpers to identify CTL and STATUS MCi MSRsarch/ | +19 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Jim Mattson |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] KVM: x86: WRMSR MCi_CTL/STATUS bug fix and cleanups
Fix bugs in set_msr_mce() where KVM returns '-1' instead of '1' when rejecting a WRMSR, which results in -EPERM getting returned to userspace.
Patches 2 and 3 are cleanups to make {g,s}et_msr_mce a bit less wierd (especially with respect to Jue's CMCI series) and a bit less magical.
Sean Christopherson (3):
KVM: x86: Signal #GP, not -EPERM, on bad WRMSR(MCi_CTL/STATUS)
KVM: x86: Use explicit case-statements for MCx banks in
{g,s}et_msr_mce()KVM: x86: Add helpers to identify CTL and STATUS MCi MSRs
arch/x86/kvm/x86.c | 84 +++++++++++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 34 deletions(-)
base-commit: 2764011106d0436cb44702cfb0981339d68c3509
Signature · 1 line
2.36.0.550.gb090851708-goog