All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] KVM: x86: AVIC/APICv patch queue
@ 2022-06-06 18:08 Maxim Levitsky
  2022-06-06 18:08 ` [PATCH 1/7] KVM: x86: document AVIC/APICv inhibit reasons Maxim Levitsky
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Maxim Levitsky @ 2022-06-06 18:08 UTC (permalink / raw)
  To: kvm
  Cc: Wanpeng Li, Vitaly Kuznetsov, Sean Christopherson, Jim Mattson,
	H. Peter Anvin, Joerg Roedel, Dave Hansen, Ingo Molnar,
	Suravee Suthikulpanit, linux-kernel, Maxim Levitsky,
	Thomas Gleixner, x86, Borislav Petkov, Paolo Bonzini

This patch series contains a few fixes that I worked on
recently.

Also included another attempt to add inhibit
when the guest had changed apic id and/or apic base.

I also tested AVIC with full preemption and
found few bugs, which are now hopefully fixed.

Best regards,
	Maxim Levitsky

Maxim Levitsky (7):
  KVM: x86: document AVIC/APICv inhibit reasons
  KVM: x86: inhibit APICv/AVIC when the guest and/or host changes either
    apic id or the apic base from their default values.
  KVM: x86: SVM: remove avic's broken code that updated APIC ID
  KVM: x86: SVM: fix avic_kick_target_vcpus_fast
  KVM: x86: disable preemption while updating apicv inhibition
  KVM: x86: disable preemption around the call to
    kvm_arch_vcpu_{un|}blocking
  KVM: x86: SVM: there is no need for preempt safe wrappers for
    avic_vcpu_load/put

 arch/x86/include/asm/kvm_host.h |  68 ++++++++++++-
 arch/x86/kvm/lapic.c            |  27 ++++-
 arch/x86/kvm/svm/avic.c         | 171 ++++++++++++++------------------
 arch/x86/kvm/svm/svm.c          |   4 +-
 arch/x86/kvm/svm/svm.h          |   4 +-
 arch/x86/kvm/vmx/vmx.c          |   4 +-
 arch/x86/kvm/x86.c              |   2 +
 virt/kvm/kvm_main.c             |   8 +-
 8 files changed, 180 insertions(+), 108 deletions(-)

-- 
2.26.3



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

end of thread, other threads:[~2022-06-09  8:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 18:08 [PATCH 0/7] KVM: x86: AVIC/APICv patch queue Maxim Levitsky
2022-06-06 18:08 ` [PATCH 1/7] KVM: x86: document AVIC/APICv inhibit reasons Maxim Levitsky
2022-06-06 18:08 ` [PATCH 2/7] KVM: x86: inhibit APICv/AVIC when the guest and/or host changes either apic id or the apic base from their default values Maxim Levitsky
2022-06-07  7:05   ` Chao Gao
2022-06-07  7:53     ` Maxim Levitsky
2022-06-06 18:08 ` [PATCH 3/7] KVM: x86: SVM: remove avic's broken code that updated APIC ID Maxim Levitsky
2022-06-06 18:08 ` [PATCH 4/7] KVM: x86: SVM: fix avic_kick_target_vcpus_fast Maxim Levitsky
2022-06-08 13:21   ` Paolo Bonzini
2022-06-09  8:13     ` Maxim Levitsky
2022-06-06 18:08 ` [PATCH 5/7] KVM: x86: disable preemption while updating apicv inhibition Maxim Levitsky
2022-06-06 18:08 ` [PATCH 6/7] KVM: x86: disable preemption around the call to kvm_arch_vcpu_{un|}blocking Maxim Levitsky
2022-06-06 18:08 ` [PATCH 7/7] KVM: x86: SVM: there is no need for preempt safe wrappers for avic_vcpu_load/put Maxim Levitsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.