KVM: SVM: Fold avic_set_pi_irte_mode() into its sole caller
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:46:00 +0000 (15:46 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:49 +0000 (09:50 -0700)
commitf2bc961d383bbc26c72f77e3f452da2f9f44dc0d
tree5ae00bf709cfdb3399b0578aa3f086e48f013ebd
parenta23480fe21de60b3e191faa5b0a5ddd24c5e38d6
KVM: SVM: Fold avic_set_pi_irte_mode() into its sole caller

Fold avic_set_pi_irte_mode() into avic_refresh_apicv_exec_ctrl() in
anticipation of moving the __avic_vcpu_{load,put}() calls into the
critical section, and because having a one-off helper with a name that's
easily confused with avic_pi_update_irte() is unnecessary.

No functional change intended.

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