From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932921AbcKGRss (ORCPT ); Mon, 7 Nov 2016 12:48:48 -0500 Received: from mga14.intel.com ([192.55.52.115]:36047 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932380AbcKGRsr (ORCPT ); Mon, 7 Nov 2016 12:48:47 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,606,1473145200"; d="scan'208";a="28456753" From: "Luck, Tony" To: Borislav Petkov CC: linux-edac , X86 ML , LKML Subject: RE: [PATCH] x86/MCE: Remove MCP_TIMESTAMP Thread-Topic: [PATCH] x86/MCE: Remove MCP_TIMESTAMP Thread-Index: AQHSN2YVreEusDrPO0C7vY93fGD+C6DNzSdA Date: Mon, 7 Nov 2016 17:48:46 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F3A22720B@ORSMSX114.amr.corp.intel.com> References: <20161101120911.13163-1-bp@alien8.de> <20161105131104.drouavgezizz4w7v@pd.tnic> In-Reply-To: <20161105131104.drouavgezizz4w7v@pd.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.139] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id uA7Hmwd1001428 > So, get rid of all that and simply log an MCE with a TSC value always. > Simplifies the code a bit too. I'm not necessarily opposed to this ... but there was once some logic behind when logged TSC, and when we didn't. Essentially we wanted the TSC when we were logging from #CMCI or #MC .... because the detection of the error was fresh, and wanted as much precision on the logged time as possible to compare with logged errors from other banks/cpus. This might allow us to distinguish multiple errors logged in the same #CMCI, from errors logged in separate #CMCI a tenth of a second apart. If we found the error while polling, we didn’t want to provide a false sense of precision. The error could have been logged up to five minutes previously (or when logging errors during the initial poll of the banks an arbitrary time in the past). -Tony