Re: [v3] powerpc: Fix smp_send_stop NMI IPI handling

2018-04-26 Thread Michael Ellerman
On Thu, 2018-04-26 at 10:19:02 UTC, Michael Ellerman wrote: > From: Nicholas Piggin > > The NMI IPI handler for a receiving CPU increments nmi_ipi_busy_count > over the handler function call, which causes later smp_send_nmi_ipi() > callers to spin until the call is finished. >

[PATCH v3] powerpc: Fix smp_send_stop NMI IPI handling

2018-04-26 Thread Michael Ellerman
From: Nicholas Piggin The NMI IPI handler for a receiving CPU increments nmi_ipi_busy_count over the handler function call, which causes later smp_send_nmi_ipi() callers to spin until the call is finished. The stop_this_cpu() function never returns, so the busy count is never