]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: SVM: Extract SVM specific code out of get_pi_vcpu_info()
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:28 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:27 +0000 (09:50 -0700)
commit0a64c447f6f81f79b69294c16b28680be59a3649
tree5509760f6351f7be43c40b40a207dfd80320256e
parent23ca102e6fb284f3c1d08d8bbbddceff2353427f
KVM: SVM: Extract SVM specific code out of get_pi_vcpu_info()

Genericize SVM's get_pi_vcpu_info() so that it can be shared with VMX.
The only SVM specific information it provides is the AVIC back page, and
that can be trivially retrieved by its sole caller.

No functional change intended.

Cc: Francesco Lavra <francescolavra.fl@gmail.com>
Tested-by: Sairaj Kodilkar <sarunkod@amd.com>
Link: https://lore.kernel.org/r/20250611224604.313496-27-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/avic.c