kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] x86/kvm: fix interrupts based APF mechanism
@ 2020-09-08 13:53 Vitaly Kuznetsov
  2020-09-08 13:53 ` [PATCH 1/2] x86/kvm: properly use DEFINE_IDTENTRY_SYSVEC() macro Vitaly Kuznetsov
  2020-09-08 13:53 ` [PATCH 2/2] x86/kvm: don't forget to ACK async PF IRQ Vitaly Kuznetsov
  0 siblings, 2 replies; 6+ messages in thread
From: Vitaly Kuznetsov @ 2020-09-08 13:53 UTC (permalink / raw)
  To: kvm, x86
  Cc: Paolo Bonzini, Sean Christopherson, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Andy Lutomirski

Linux-5.9 switched KVM guests to interrupt based APF mechanism for 'page
ready' events (instead of the previously used '#PF' exception) but a
collision with the newly introduced IDTENTRY magic happened and it wasn't
properly resolved. QEMU doesn't currently enable KVM_FEATURE_ASYNC_PF_INT
bit so the breakage is invisible but all KVM guests will hang as soon as
the bit will get exposed.

Vitaly Kuznetsov (2):
  x86/kvm: properly use DEFINE_IDTENTRY_SYSVEC() macro
  x86/kvm: don't forget to ACK async PF IRQ

 arch/x86/kernel/kvm.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

-- 
2.25.4


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

end of thread, other threads:[~2020-09-12  6:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-08 13:53 [PATCH 0/2] x86/kvm: fix interrupts based APF mechanism Vitaly Kuznetsov
2020-09-08 13:53 ` [PATCH 1/2] x86/kvm: properly use DEFINE_IDTENTRY_SYSVEC() macro Vitaly Kuznetsov
2020-09-08 13:53 ` [PATCH 2/2] x86/kvm: don't forget to ACK async PF IRQ Vitaly Kuznetsov
2020-09-09  8:16   ` Ingo Molnar
2020-09-09  8:49     ` Vitaly Kuznetsov
2020-09-12  6:22       ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).