Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753201AbbB0MqX (ORCPT ); Fri, 27 Feb 2015 07:46:23 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:44779 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbbB0MqW (ORCPT ); Fri, 27 Feb 2015 07:46:22 -0500 Message-ID: <54F06718.3020401@gmail.com> Date: Fri, 27 Feb 2015 21:46:16 +0900 From: Naoya Horiguchi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Prarit Bhargava CC: Naoya Horiguchi , Tony Luck , Borislav Petkov , Vivek Goyal , "linux-kernel@vger.kernel.org" , Junichi Nomura , Kiyoshi Ueda Subject: Re: [PATCH v2 1/2] x86: mce: kexec: turn off MCE in kexec References: <1425013116-23581-1-git-send-email-n-horiguchi@ah.jp.nec.com> <54F05080.9090605@redhat.com> In-Reply-To: <54F05080.9090605@redhat.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1212 Lines: 31 Hi Prarit, On Fri, Feb 27, 2015 at 06:09:52AM -0500, Prarit Bhargava wrote: ... > > @@ -157,6 +160,11 @@ void native_machine_crash_shutdown(struct pt_regs *regs) > > /* The kernel is broken so disable interrupts */ > > local_irq_disable(); > > > > + /* > > + * We can't expect MCE handling to work any more, so turn it off. > > + */ > > + cpu_emergency_mce_disable(); > > What if the system is actually having problems with MCE errors -- which are > leading to system panics of some sort. Do you *really* want the system to > continue on at that point? Yes, when running the above code, the system doesn't run any business logic, so no worry about consuming broken data caused by HW errors. And what we really want to get is any kind of information to find out what caused the 1st panic, which are likely to be contained in kdump data. So I think it's justified to improve the success rate of kdump by continuing the operation here. Thanks, Naoya Horiguchi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/