x86/apic/x2apic: Implement IPI shorthands support
authorThomas Gleixner <tglx@linutronix.de>
Mon, 22 Jul 2019 18:47:30 +0000 (20:47 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 25 Jul 2019 14:12:02 +0000 (16:12 +0200)
commit43931d350f30c6cd8c2f498d54ef7d65750abc92
tree47f3517ac4272325325b2f1d474dd2a270c12bd3
parent2510d09e9dabc265341f164e0b45b2dfdcb7ef36
x86/apic/x2apic: Implement IPI shorthands support

All callers of apic->send_IPI_all() and apic->send_IPI_allbutself() contain
the decision logic for shorthand invocation already and invoke
send_IPI_mask() if the prereqisites are not satisfied.

Implement shorthand support for x2apic.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105221.134696837@linutronix.de
arch/x86/kernel/apic/local.h
arch/x86/kernel/apic/x2apic_cluster.c
arch/x86/kernel/apic/x2apic_phys.c