From: Sean Christopherson <seanjc@google.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>,
Vitaly Kuznetsov <vkuznets@redhat.com>,
Wanpeng Li <wanpengli@tencent.com>,
Jim Mattson <jmattson@google.com>, Joerg Roedel <joro@8bytes.org>,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] KVM: x86: APICv inhibition cleanups
Date: Fri, 11 Mar 2022 04:35:14 +0000 [thread overview]
Message-ID: <20220311043517.17027-1-seanjc@google.com> (raw)
Refactor the APICv inhibition code to use small set/clear wrappers instead
of passing an impressively ambiguous "activate" boolean. Opportunistically
enhance the related tracepoint so that debugging why a VM can't use APICv
is slightly less painful.
Sean Christopherson (3):
KVM: x86: Make APICv inihibit reasons an enum and cleanup naming
KVM: x86: Add wrappers for setting/clearing APICv inhibits
KVM: x86: Trace all APICv inhibit changes and capture overall status
arch/x86/include/asm/kvm_host.h | 39 ++++++++++++++++--------
arch/x86/kvm/hyperv.c | 10 ++++--
arch/x86/kvm/i8254.c | 6 ++--
arch/x86/kvm/svm/avic.c | 4 +--
arch/x86/kvm/svm/svm.c | 11 +++----
arch/x86/kvm/svm/svm.h | 2 +-
arch/x86/kvm/trace.h | 22 ++++++++------
arch/x86/kvm/vmx/vmx.c | 4 +--
arch/x86/kvm/x86.c | 54 ++++++++++++++++++++-------------
9 files changed, 90 insertions(+), 62 deletions(-)
base-commit: ce41d078aaa9cf15cbbb4a42878cc6160d76525e
--
2.35.1.723.g4982287a31-goog
next reply other threads:[~2022-03-11 4:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 4:35 Sean Christopherson [this message]
2022-03-11 4:35 ` [PATCH 1/3] KVM: x86: Make APICv inihibit reasons an enum and cleanup naming Sean Christopherson
2022-03-11 4:35 ` [PATCH 2/3] KVM: x86: Add wrappers for setting/clearing APICv inhibits Sean Christopherson
2022-03-11 4:35 ` [PATCH 3/3] KVM: x86: Trace all APICv inhibit changes and capture overall status Sean Christopherson
2022-03-15 14:42 ` Chao Gao
2022-03-15 14:48 ` Maxim Levitsky
2022-03-15 21:12 ` Paolo Bonzini
2022-03-15 21:38 ` [PATCH 0/3] KVM: x86: APICv inhibition cleanups Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220311043517.17027-1-seanjc@google.com \
--to=seanjc@google.com \
--cc=jmattson@google.com \
--cc=joro@8bytes.org \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pbonzini@redhat.com \
--cc=vkuznets@redhat.com \
--cc=wanpengli@tencent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox