From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751157AbdAWMwF (ORCPT ); Mon, 23 Jan 2017 07:52:05 -0500 Received: from mail.skyhub.de ([78.46.96.112]:34455 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750703AbdAWMwE (ORCPT ); Mon, 23 Jan 2017 07:52:04 -0500 Date: Mon, 23 Jan 2017 13:51:57 +0100 From: Borislav Petkov To: Xunlei Pang Cc: x86@kernel.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, Tony Luck , Ingo Molnar , Dave Young , Prarit Bhargava , Junichi Nomura , Kiyoshi Ueda , Naoya Horiguchi Subject: Re: [PATCH] x86/mce: Keep quiet in case of broadcasted mce after system panic Message-ID: <20170123125157.u2kefedwpvgcdyfo@pd.tnic> References: <1485158511-22374-1-git-send-email-xlpang@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1485158511-22374-1-git-send-email-xlpang@redhat.com> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 23, 2017 at 04:01:51PM +0800, Xunlei Pang wrote: > We met an issue for kdump: after kdump kernel boots up, > and there comes a broadcasted mce in first kernel, the How does that even happen? Lemme try to understand this correctly: the first kernel gets an MCE, kdump starts and boots a *whole* kernel and *then* you get the broadcasted MCE? I have real hard time believing that. What happened to the approach of clearing CR4.MCE before loading the kdump kernel, in native_machine_shutdown() or wherever does the kdump gets loaded... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.