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

2018-04-26 Thread Michael Ellerman
Nicholas Piggin writes: > On Wed, 25 Apr 2018 13:15:34 +1000 > Michael Ellerman wrote: >> Nicholas Piggin writes: >> >> > 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 t

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

2018-04-24 Thread Nicholas Piggin
On Wed, 25 Apr 2018 13:15:34 +1000 Michael Ellerman wrote: > Nicholas Piggin writes: > > > 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

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

2018-04-24 Thread Michael Ellerman
Nicholas Piggin writes: > 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 smp_send_stop function never returns, so the busy count is never > decremet