From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933552AbcKHUlq (ORCPT ); Tue, 8 Nov 2016 15:41:46 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:56123 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753412AbcKHUlo (ORCPT ); Tue, 8 Nov 2016 15:41:44 -0500 Date: Tue, 8 Nov 2016 21:39:02 +0100 (CET) From: Thomas Gleixner To: Borislav Petkov cc: "Luck, Tony" , linux-edac , X86 ML , LKML Subject: Re: [PATCH] x86/MCE: Remove MCP_TIMESTAMP In-Reply-To: <20161108180932.wvvcbbzrzrai26eg@pd.tnic> Message-ID: References: <20161101120911.13163-1-bp@alien8.de> <20161105131104.drouavgezizz4w7v@pd.tnic> <3908561D78D1C84285E8C5FCA982C28F3A22720B@ORSMSX114.amr.corp.intel.com> <20161107180853.4uxlvtoychzhwr2q@pd.tnic> <3908561D78D1C84285E8C5FCA982C28F3A22728C@ORSMSX114.amr.corp.intel.com> <20161108180932.wvvcbbzrzrai26eg@pd.tnic> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 8 Nov 2016, Borislav Petkov wrote: > > Also, this fixes another bug where machine_check_poll() would clear > mce.tsc unconditionally even if we requested precise MCP_TIMESTAMP > logging. > @@ -713,7 +713,6 @@ bool machine_check_poll(enum mcp_flags flags, mce_banks_t *b) > m.misc = 0; > m.addr = 0; > m.bank = i; > - m.tsc = 0; That does not make any sense. Where is m.tsc initialized? I couldn't find any place which does, except this and the conditional clear farther down in that function. Thanks, tglx