Commit bd82dba2 authored by Thomas Gleixner's avatar Thomas Gleixner

x86/apic: Add NMI_VECTOR wait to IPI shorthand

To support NMI shorthand broadcasts add the safe wait for ICR idle for NMI
vector delivery.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105220.185838026@linutronix.de
parent 3994ff90
...@@ -30,6 +30,9 @@ void __default_send_IPI_shortcut(unsigned int shortcut, int vector) ...@@ -30,6 +30,9 @@ void __default_send_IPI_shortcut(unsigned int shortcut, int vector)
/* /*
* Wait for idle. * Wait for idle.
*/ */
if (unlikely(vector == NMI_VECTOR))
safe_apic_wait_icr_idle();
else
__xapic_wait_icr_idle(); __xapic_wait_icr_idle();
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment