aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/hyperv/hv_apic.c
diff options
context:
space:
mode:
authorGravatar Thomas Gleixner <tglx@linutronix.de> 2023-08-08 15:04:24 -0700
committerGravatar Dave Hansen <dave.hansen@linux.intel.com> 2023-08-09 12:00:55 -0700
commitf8542a55499a69a859c84866b66f0df43933e563 (patch)
tree58ddbf3804692d3ca7687fccbad05a4c9bf39745 /arch/x86/hyperv/hv_apic.c
parentx86/apic: Provide static call infrastructure for APIC callbacks (diff)
downloadlinux-f8542a55499a69a859c84866b66f0df43933e563.tar.gz
linux-f8542a55499a69a859c84866b66f0df43933e563.tar.bz2
linux-f8542a55499a69a859c84866b66f0df43933e563.zip
x86/apic: Turn on static calls
Convert all the APIC callback inline wrappers from apic->foo() to static_call(apic_call_foo)(), except for the safe_wait_icr_idle() one which is only used during SMP bringup when sending INIT/SIPI. That really can do the conditional callback. The regular wait_icr_idle() matters as it is used in irq_work_raise(), so X2APIC machines spare the conditional. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Juergen Gross <jgross@suse.com> # Xen PV (dom0 and unpriv. guest) Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Sohil Mehta <sohil.mehta@intel.com>
Diffstat (limited to 'arch/x86/hyperv/hv_apic.c')
0 files changed, 0 insertions, 0 deletions