Re: [PATCH] powerpc: offline CPU in stop_this_cpu

2021-06-24 Thread Michael Ellerman
On Wed, 23 Jun 2021 14:12:45 +1000, Nicholas Piggin wrote: > printk_safe_flush_on_panic() has special lock breaking code for the > case where we panic()ed with the console lock held. It relies on > panic IPI causing other CPUs to mark themselves offline. > > Do as most other architectures do. > >

[PATCH] powerpc: offline CPU in stop_this_cpu

2021-06-22 Thread Nicholas Piggin
printk_safe_flush_on_panic() has special lock breaking code for the case where we panic()ed with the console lock held. It relies on panic IPI causing other CPUs to mark themselves offline. Do as most other architectures do. This effectively reverts commit de6e5d38417e ("powerpc: smp_send_stop do