Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 09:37:52AM +, Naoya Horiguchi wrote: > print_mce() doesn't help? No, it doesn't because it does a bunch of MCA-specific things too. > Currently quirk_no_way_out() is set only for a specific CPU model, so even > if we define another callback for kdump code, setting it

Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-06 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 09:37:52AM +, Naoya Horiguchi wrote: print_mce() doesn't help? No, it doesn't because it does a bunch of MCA-specific things too. Currently quirk_no_way_out() is set only for a specific CPU model, so even if we define another callback for kdump code, setting it to

Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-05 Thread Naoya Horiguchi
On Thu, Mar 05, 2015 at 09:57:35AM +0100, Borislav Petkov wrote: > On Thu, Mar 05, 2015 at 06:45:10AM +, Naoya Horiguchi wrote: ... > > > > Signed-off-by: Naoya Horiguchi > > Cc: [2.6.32+] > > I don't think you can CC stable on something which looks like a new > feature to me. OK,

Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-05 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 06:45:10AM +, Naoya Horiguchi wrote: > > From bf4ce58b8296774a69e5436f43e8dc9eed41a829 Mon Sep 17 00:00:00 2001 > From: Naoya Horiguchi > Date: Thu, 5 Mar 2015 15:28:23 +0900 > Subject: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/k

Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-05 Thread Borislav Petkov
On Thu, Mar 05, 2015 at 06:45:10AM +, Naoya Horiguchi wrote: From bf4ce58b8296774a69e5436f43e8dc9eed41a829 Mon Sep 17 00:00:00 2001 From: Naoya Horiguchi n-horigu...@ah.jp.nec.com Date: Thu, 5 Mar 2015 15:28:23 +0900 Subject: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec

Re: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-05 Thread Naoya Horiguchi
On Thu, Mar 05, 2015 at 09:57:35AM +0100, Borislav Petkov wrote: On Thu, Mar 05, 2015 at 06:45:10AM +, Naoya Horiguchi wrote: ... Signed-off-by: Naoya Horiguchi n-horigu...@ah.jp.nec.com Cc: sta...@vger.kernel.org[2.6.32+] I don't think you can CC stable on something which

[PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-04 Thread Naoya Horiguchi
- it > > needs to > > be separate with a much more than two lines of commit description. > > OK, I might not include this part in this series in later post, but if I do, > I'll separete it out. Although I don't think we finished the discussion over v4, I updated the patch to

[PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-04 Thread Naoya Horiguchi
:23 +0900 Subject: [PATCH v5] x86: mce: kexec: switch MCE handler for kexec/kdump kexec disables (or shoots down) all CPUs other than a crashing CPU before entering the 2nd kernel. But the MCE handler is still enabled after that, so if MCE happens and broadcasts over the CPUs after the main thread