RE: [V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-21 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Peter Zijlstra [mailto:pet...@infradead.org] > > On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > > When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops > > infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI > > to other cpus to save their

RE: [V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-21 Thread 河合英宏 / KAWAI,HIDEHIRO
From: Peter Zijlstra [mailto:pet...@infradead.org] On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI to other cpus to save their register

Re: [V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-20 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: > When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops > infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI > to other cpus to save their register states and do some cleanups if > kdump is enabled, but

Re: [V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-20 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 02:45:43PM +0900, Hidehiro Kawai wrote: When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI to other cpus to save their register states and do some cleanups if kdump is enabled, but

[V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-05 Thread Hidehiro Kawai
When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI to other cpus to save their register states and do some cleanups if kdump is enabled, but cpu-A can't handle the NMI and fails to save register states. To solve

[V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-05 Thread Hidehiro Kawai
When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI to other cpus to save their register states and do some cleanups if kdump is enabled, but cpu-A can't handle the NMI and fails to save register states. To solve