On Wed, Jun 11, 2025 at 03:45:13PM -0700, Sean Christopherson wrote:
Add a helper to get the physical address of the AVIC backing page, both
to deduplicate code and to prepare for getting the address directly from
apic->regs, at which point it won't be all that obvious that the address
in question is what SVM calls the AVIC backing page.
No functional change intended.
Reviewed-by: Maxim Levitsky <redacted>
Tested-by: Sairaj Kodilkar <redacted>
Signed-off-by: Sean Christopherson <seanjc@google.com>
---
arch/x86/kvm/svm/avic.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
LGTM.
Reviewed-by: Naveen N Rao (AMD) <naveen@kernel.org>
- Naveen