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

2015-09-30 Thread 河合英宏 / KAWAI,HIDEHIRO
> On Fri, Sep 25, 2015 at 08:28:07PM +0900, Hidehiro Kawai wrote: > > --- a/arch/x86/kernel/reboot.c > > +++ b/arch/x86/kernel/reboot.c > > @@ -718,6 +718,7 @@ void machine_crash_shutdown(struct pt_regs *regs) > > static nmi_shootdown_cb shootdown_callback; > > > > static atomic_t

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

2015-09-30 Thread Peter Zijlstra
On Fri, Sep 25, 2015 at 08:28:07PM +0900, Hidehiro Kawai wrote: > --- a/arch/x86/kernel/reboot.c > +++ b/arch/x86/kernel/reboot.c > @@ -718,6 +718,7 @@ void machine_crash_shutdown(struct pt_regs *regs) > static nmi_shootdown_cb shootdown_callback; > > static atomic_t waiting_for_crash_ipi; >

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

2015-09-30 Thread Peter Zijlstra
On Fri, Sep 25, 2015 at 08:28:07PM +0900, Hidehiro Kawai wrote: > --- a/arch/x86/kernel/reboot.c > +++ b/arch/x86/kernel/reboot.c > @@ -718,6 +718,7 @@ void machine_crash_shutdown(struct pt_regs *regs) > static nmi_shootdown_cb shootdown_callback; > > static atomic_t waiting_for_crash_ipi; >

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

2015-09-30 Thread 河合英宏 / KAWAI,HIDEHIRO
> On Fri, Sep 25, 2015 at 08:28:07PM +0900, Hidehiro Kawai wrote: > > --- a/arch/x86/kernel/reboot.c > > +++ b/arch/x86/kernel/reboot.c > > @@ -718,6 +718,7 @@ void machine_crash_shutdown(struct pt_regs *regs) > > static nmi_shootdown_cb shootdown_callback; > > > > static atomic_t