]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SVM: Add a helper to look up the max physical ID for AVIC
authorNaveen N Rao <naveen@kernel.org>
Thu, 4 Sep 2025 18:33:02 +0000 (00:03 +0530)
committerSean Christopherson <seanjc@google.com>
Fri, 17 Oct 2025 22:21:54 +0000 (15:21 -0700)
commitf2f6e67a56dc88fea7e9b10c4e79bb01d97386b7
treec4bddfa85121e4608fa909b90f60ac0181f73869
parent574ef752d4aea04134bc121294d717f4422c2755
KVM: SVM: Add a helper to look up the max physical ID for AVIC

To help with a future change, add a helper to look up the maximum
physical ID depending on the vCPU AVIC mode. No functional change
intended.

Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Naveen N Rao (AMD) <naveen@kernel.org>
Link: https://lore.kernel.org/r/0ab9bf5e20a3463a4aa3a5ea9bbbac66beedf1d1.1757009416.git.naveen@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/avic.c