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>
This commit is contained in:
Naveen N Rao 2025-09-05 00:03:02 +05:30 • committed by Sean Christopherson
commit f2f6e67a56