[GIT PULL (sort of)] KVM: x86: Static call changes for 6.11

From: Sean Christopherson
Date: Fri Jul 12 2024 - 19:59:33 EST


Here's a massage pull request for the static_call() changes, just in case you
want to go this route instead of applying patches directly after merging
everything else for 6.11 (it was easy to generate this). If you want to go the
patches route, I'll post 'em next week.

The following changes since commit c1c8a908a5f4c372f8a8dca0501b56ffc8d260fe:

Merge branch 'vmx' (2024-06-28 22:22:53 +0000)

are available in the Git repository at:

https://github.com/kvm-x86/linux.git tags/kvm-x86-static_calls-6.11

for you to fetch changes up to b528de209c858f61953023b405a4abbf9a9933da:

KVM: x86/pmu: Add kvm_pmu_call() to simplify static calls of kvm_pmu_ops (2024-06-28 15:23:49 -0700)

----------------------------------------------------------------
KVM x86 static_call() cleanup for 6.11

Add kvm_x86_call() and kvm_pmu_call() wrappers for KVM's static_call() usage
to improve readability and make it easier to connect the calls to the vendor
implementations.

----------------------------------------------------------------
Wei Wang (3):
KVM: x86: Replace static_call_cond() with static_call()
KVM: x86: Introduce kvm_x86_call() to simplify static calls of kvm_x86_ops
KVM: x86/pmu: Add kvm_pmu_call() to simplify static calls of kvm_pmu_ops

arch/x86/include/asm/kvm_host.h | 11 +++--
arch/x86/kvm/cpuid.c | 2 +-
arch/x86/kvm/hyperv.c | 6 +--
arch/x86/kvm/irq.c | 2 +-
arch/x86/kvm/kvm_cache_regs.h | 10 ++---
arch/x86/kvm/lapic.c | 42 +++++++++---------
arch/x86/kvm/lapic.h | 2 +-
arch/x86/kvm/mmu.h | 6 +--
arch/x86/kvm/mmu/mmu.c | 6 +--
arch/x86/kvm/mmu/spte.c | 4 +-
arch/x86/kvm/pmu.c | 29 ++++++------
arch/x86/kvm/smm.c | 44 +++++++++---------
arch/x86/kvm/trace.h | 15 ++++---
arch/x86/kvm/x86.c | 324 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------
arch/x86/kvm/x86.h | 2 +-
arch/x86/kvm/xen.c | 4 +-
16 files changed, 261 insertions(+), 248 deletions(-)