Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752952AbbKKWcd (ORCPT ); Wed, 11 Nov 2015 17:32:33 -0500 Received: from mga03.intel.com ([134.134.136.65]:6996 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752882AbbKKWcb (ORCPT ); Wed, 11 Nov 2015 17:32:31 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,278,1444719600"; d="scan'208";a="848264549" From: "Luck, Tony" To: Borislav Petkov CC: "linux-kernel@vger.kernel.org" , "linux-edac@vger.kernel.org" , "x86@kernel.org" Subject: RE: [RFC PATCH 0/3] Machine check recovery when kernel accesses poison Thread-Topic: [RFC PATCH 0/3] Machine check recovery when kernel accesses poison Thread-Index: AQHRG6oNxrURhGBXHk6wns34grIcl56VzcYAgAID0wD//4xbAIAAkX2A//96RvA= Date: Wed, 11 Nov 2015 22:32:29 +0000 Message-ID: <3908561D78D1C84285E8C5FCA982C28F32B86865@ORSMSX114.amr.corp.intel.com> References: <20151110112101.GB19187@pd.tnic> <20151110215546.GA28172@agluck-desk.sc.intel.com> <20151111204157.GL22512@pd.tnic> <20151111214803.GA11052@agluck-desk.sc.intel.com> <20151111222847.GM22512@pd.tnic> In-Reply-To: <20151111222847.GM22512@pd.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] 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 tABMX5kS010645 Content-Length: 626 Lines: 15 > If you know that it is in the nvdimm range, you can grade the error with > lower severity... Grading the severity isn't the main issue. > Or do you mean that without the exception table we'll return back to the > insn causing the error and loop indefinitely this way? Yes. We need to NOT return to the instruction that faulted. We need to pick a different return address. We need to do that inside the #MC handler. The exception table does that for us. -Tony ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?