From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752606AbdDKNZN (ORCPT ); Tue, 11 Apr 2017 09:25:13 -0400 Received: from mail.skyhub.de ([5.9.137.197]:57054 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751797AbdDKNZK (ORCPT ); Tue, 11 Apr 2017 09:25:10 -0400 Date: Tue, 11 Apr 2017 15:24:53 +0200 From: Borislav Petkov To: "Ghannam, Yazen" Cc: "linux-edac@vger.kernel.org" , Tony Luck , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 1/2] x86/mce/AMD: Redo use of SMCA MCA_DE{STAT,ADDR} registers Message-ID: <20170411132453.ryjo3ipexkjstpsv@pd.tnic> References: <20170405172203.stnpfpvtm2afzkvk@pd.tnic> <20170405182223.27fzxe27jvinidk6@pd.tnic> <20170405200430.aagtouutiqyopp7a@pd.tnic> <20170407213500.6wanc4ya5ormrjyt@pd.tnic> <20170411131220.fr73rpfakyt3whsa@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 11, 2017 at 01:18:50PM +0000, Ghannam, Yazen wrote: > So log_error() reads/clears MCA_STATUS, right? This won't affect MCA_DESTAT > on SMCA systems. So if we call log_error_smca() and unconditionally read > MCA_DESTAT, we will find the same deferred error that we logged in log_error(). I'm reading this as, "we log the same deferred error in *both* the original MCA MSRs and in the new DE* ones". Correct? -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.