Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752188AbbKKLBi (ORCPT ); Wed, 11 Nov 2015 06:01:38 -0500 Received: from mail.skyhub.de ([78.46.96.112]:48951 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751508AbbKKLBg (ORCPT ); Wed, 11 Nov 2015 06:01:36 -0500 Date: Wed, 11 Nov 2015 12:01:34 +0100 From: Borislav Petkov To: "Luck, Tony" Cc: linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 2/3] x86, ras: Extend machine check recovery code to annotated ring0 areas Message-ID: <20151111110134.GD22512@pd.tnic> References: <20151110112142.GD19187@pd.tnic> <20151110221134.GC28172@agluck-desk.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20151110221134.GC28172@agluck-desk.sc.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 28 On Tue, Nov 10, 2015 at 02:11:35PM -0800, Luck, Tony wrote: > That would be tidier ... the inside of the "if" has been gradually growing > with added recovery paths. I had to fold the mce_panic() line to shut > checkpatch up. Bah, I don't take checkpatch seriously anymore. In that case, you could've left the line stick out, for all I know. Our monitors can do more pixels since the 1980s I believe. :) > But I'm not really sure what tolerant==3 people really want here. By skipping > the recovery code they doom themselves to hitting the machine check again. Looks like a loop to me, fun. I guess the user application should be aware of BUS_MCEERR_AR and not attempt the same access to not cause a loop with tolerant==3. Alternatively, we can still kill it to prevent the looping... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- 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/