diff options
author | Sean Christopherson <seanjc@google.com> | 2025-09-19 14:59:29 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-09-23 08:56:46 -0700 |
commit | eb44ea6a7aace13becd8d99905284ad272b3bd98 (patch) | |
tree | ea8d5b79c88db7aa84a6f4c833a28702359f62ff /drivers/infiniband/hw/ionic/ionic_datapath.c | |
parent | 44bfe1f0490d5620c7962ab7384797672b4c4293 (diff) |
KVM: SVM: Move x2AVIC MSR interception helper to avic.c
Move svm_set_x2apic_msr_interception() to avic.c as it's only relevant
when x2AVIC is enabled/supported and only called by AVIC code. In
addition to scoping AVIC code to avic.c, this will allow burying the
global x2avic_enabled variable in avic.
Opportunistically rename the helper to explicitly scope it to "avic".
No functional change intended.
Reviewed-by: Naveen N Rao (AMD) <naveen@kernel.org>
Tested-by: Naveen N Rao (AMD) <naveen@kernel.org>
Link: https://lore.kernel.org/r/20250919215934.1590410-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'drivers/infiniband/hw/ionic/ionic_datapath.c')
0 files changed, 0 insertions, 0 deletions