mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] KVM: x86: Fix goofs with MONITOR/MWAIT quirk
@ 2022-07-11 22:57 Sean Christopherson
  2022-07-11 22:57 ` [PATCH 1/3] KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirk Sean Christopherson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sean Christopherson @ 2022-07-11 22:57 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Sean Christopherson, Vitaly Kuznetsov, Wanpeng Li, Jim Mattson,
	Joerg Roedel, kvm, linux-kernel, Yuan Yao

Fix two bugs in the MONITOR/MWAIT selftest, and tweak the name of the
quirk (which isn't yet set in stone) to clarify that it only applies to
the #UD behavior, i.e. to reserve the right to correctly emulate #GP and
other faults in the future even if the quirk is enabled.

Sean Christopherson (3):
  KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirk
  KVM: selftests: Provide valid inputs for MONITOR/MWAIT regs
  KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD
    specific

 Documentation/virt/kvm/api.rst                         |  2 +-
 arch/x86/include/asm/kvm_host.h                        |  2 +-
 arch/x86/include/uapi/asm/kvm.h                        |  2 +-
 arch/x86/kvm/x86.c                                     |  2 +-
 .../testing/selftests/kvm/x86_64/monitor_mwait_test.c  | 10 +++++++---
 5 files changed, 11 insertions(+), 7 deletions(-)


base-commit: b9b71f43683ae9d76b0989249607bbe8c9eb6c5c
-- 
2.37.0.144.g8ac04bfd2-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-11 22:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 22:57 [PATCH 0/3] KVM: x86: Fix goofs with MONITOR/MWAIT quirk Sean Christopherson
2022-07-11 22:57 ` [PATCH 1/3] KVM: selftests: Test MONITOR and MWAIT, not just MONITOR for quirk Sean Christopherson
2022-07-11 22:57 ` [PATCH 2/3] KVM: selftests: Provide valid inputs for MONITOR/MWAIT regs Sean Christopherson
2022-07-11 22:57 ` [PATCH 3/3] KVM: x86: Tweak name of MONITOR/MWAIT #UD quirk to make it #UD specific Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®