Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936523AbdGTTuJ (ORCPT ); Thu, 20 Jul 2017 15:50:09 -0400 Received: from g4t3427.houston.hpe.com ([15.241.140.73]:43092 "EHLO g4t3427.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935971AbdGTTuH (ORCPT ); Thu, 20 Jul 2017 15:50:07 -0400 From: "Kani, Toshimitsu" To: "bp@alien8.de" CC: "linux-kernel@vger.kernel.org" , "mchehab@s-opensource.com" , "tglx@linutronix.de" , "mchehab@kernel.org" , "rjw@rjwysocki.net" , "srinivas.pandruvada@linux.intel.com" , "tony.luck@intel.com" , "lenb@kernel.org" , "linux-acpi@vger.kernel.org" , "linux-edac@vger.kernel.org" Subject: Re: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac Thread-Topic: [PATCH 3/3] ghes_edac: add platform check to enable ghes_edac Thread-Index: AQHS/0lGOl4i5ss6QUSn88C0VF1rJqJZF6OAgADnxYCAABgPgIABQtCAgADJ5ACAAP1sAA== Date: Thu, 20 Jul 2017 19:50:03 +0000 Message-ID: <1500579646.2042.37.camel@hpe.com> References: <20170717215912.26070-1-toshi.kani@hpe.com> <20170717215912.26070-4-toshi.kani@hpe.com> <20170718060007.GB8736@nazgul.tnic> <1500407379.2042.21.camel@hpe.com> <20170718181545.32bd9181@vento.lan> <1500481869.2042.29.camel@hpe.com> <20170720043344.GC14367@nazgul.tnic> In-Reply-To: <20170720043344.GC14367@nazgul.tnic> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=none action=none header.from=hpe.com; x-originating-ip: [15.211.195.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DF4PR84MB0188;7:+YeiShH9TGu2QWKJ1fIWM7h7vWdTtSYHTFnbDTDniK+5wL58wL5yltiNdxuX4FbWDdW6+ULE6QyZ4GXJHaV+JOefBGh9R3BnmwaVDkbJFxbgNin/JEQzI+VAgZ/h9gsdIX14QJviwWvdujSp5sOi8SqcVm6R+1HSd9K7IWye2nNB1pwj5qoP+/qbQGrUvMQ+e7ngFyEg/Jjh+zBYs3k2aPsl66Z99Z/s8mjNtG5fUEZ81yorYV1+I8qNfgbERzuviETYn95Ah2KhmEuj3lMZ6rm9PP1VGVm2VEB8UqjwrOV9G9MBUDdmQAAeF2K63o+nwB4TFCzSAvVetsd5NzGyiUz+uDekAUgDK1U+n0Ez4kpMCO1uW8h0+kKD910AJ9x0t8G5eAika4/k2gr+UMDw4ajvWQoj4equGrici71HdTSGj8axPGvWtgriM69zGbiosY3B6jVEiG6ZhZFGuyX9j4TkEuTEza6RXNYpotSmyVTDpTJOwbioxxvEQFMaV5kjYcOrpWQoeOlfJPwEyW9Bb8u6xuAN2AOE9Psi6lzr5QZFTsoiV+1qje6Xq8hAZ4/Yt0ZPiNQbl0KR9UPuI6+P8GXLTz/KozKEtkQ736XY+RIzKF76W3G7oxBrozsjx15+/3aqEu/U2zqA21sibZZchF2LehtUSFaC8n3glehUfBhbnZJtRASop2o2TveVsopEEhZeHHF7GKLJO7m3LgQlbkIK1SEgPLry/C9Sm5wWHO4hBYImGpYs71ajpOF6dfhxWTp8MIx9bhLAraKc+LoMqQVh98UVlCbdj9ERMeSiMtU= x-ms-office365-filtering-correlation-id: a99135ad-629b-4655-9d25-08d4cfa883ce x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DF4PR84MB0188; x-ms-traffictypediagnostic: DF4PR84MB0188: x-exchange-antispam-report-test: UriScan:(236129657087228); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(2017060910075)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123560025)(20161123558100)(20161123564025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DF4PR84MB0188;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DF4PR84MB0188; x-forefront-prvs: 0374433C81 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39850400002)(39400400002)(39840400002)(39410400002)(39450400003)(39860400002)(377424004)(24454002)(2950100002)(6436002)(77096006)(93886004)(3846002)(6486002)(2351001)(2501003)(6506006)(5660300001)(14454004)(25786009)(189998001)(6116002)(102836003)(4326008)(2900100001)(478600001)(2906002)(33646002)(38730400002)(86362001)(229853002)(6916009)(3660700001)(53936002)(5640700003)(110136004)(81166006)(54906002)(50986999)(54356999)(6512007)(103116003)(66066001)(3280700002)(6246003)(305945005)(8676002)(1730700003)(36756003)(8936002)(7736002)(76176999)(7416002);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR84MB0188;H:DF4PR84MB0187.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jul 2017 19:50:03.7643 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-Transport-CrossTenantHeadersStamped: DF4PR84MB0188 X-OriginatorOrg: hpe.com 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 nfs id v6KJoIWm016202 Content-Length: 1130 Lines: 29 On Thu, 2017-07-20 at 06:33 +0200, Borislav Petkov wrote: > On Wed, Jul 19, 2017 at 04:40:25PM +0000, Kani, Toshimitsu wrote: > >  ghes_edac allows to report errors to OS management tools like > > rasdaemon in addition to platform- specific managements. > > So ghes_edac *is* a poor man's driver in the sense that it doesn't do > anything fancy but repeat like a parrot data it has gotten from the > firmware and shoving it into the EDAC counters. At least that's the > intention. Nothing more. Right for ghes_edac. > All the action stuff like error detection and recovery should be done > by the firmware. GHES / firmware-first still requires OS recovery actions when an error cannot be corrected by the platform. They are handled by ghes_proc(), and ghes_edac remains its error-reporting wrapper. > But considering how SNAFU'd firmware is, I wouldn't expect any great > RAS functionality there. Of course, I'd be delighted to be proven > wrong. Firmware has better knowledge about the platform and can provide better RAS when implemented properly. I agree that user experiences may vary on platforms. Thanks, -Toshi