提交 bd82dba2 编写于 作者: T 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: NThomas Gleixner <tglx@linutronix.de>
Acked-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20190722105220.185838026@linutronix.de
上级 3994ff90
...@@ -30,7 +30,10 @@ void __default_send_IPI_shortcut(unsigned int shortcut, int vector) ...@@ -30,7 +30,10 @@ void __default_send_IPI_shortcut(unsigned int shortcut, int vector)
/* /*
* Wait for idle. * Wait for idle.
*/ */
__xapic_wait_icr_idle(); if (unlikely(vector == NMI_VECTOR))
safe_apic_wait_icr_idle();
else
__xapic_wait_icr_idle();
/* /*
* No need to touch the target chip field. Also the destination * No need to touch the target chip field. Also the destination
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册