Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752958AbdHOPxW (ORCPT ); Tue, 15 Aug 2017 11:53:22 -0400 Received: from g4t3426.houston.hpe.com ([15.241.140.75]:39142 "EHLO g4t3426.houston.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752696AbdHOPxS (ORCPT ); Tue, 15 Aug 2017 11:53:18 -0400 From: "Kani, Toshimitsu" To: "tony.luck@intel.com" CC: "linux-acpi@vger.kernel.org" , "lenb@kernel.org" , "mchehab@kernel.org" , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bp@alien8.de" , "rjw@rjwysocki.net" Subject: Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk() Thread-Topic: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk() Thread-Index: AQHTDKTuWyxK/OMe00e0Ovda8CeGBqJzlIKAgAEZcQCAAIyugIAD9yeAgAW2iQCABSfDgIAACkUAgAAEFwCAAAdxAIAACkmAgAAGWwCAAAC7gIAAB8WAgAAEpwCAAAu+AIAACWYAgAAIzwCAATq3AIAABjEA///+pAA= Date: Tue, 15 Aug 2017 15:53:09 +0000 Message-ID: <1502811804.2042.151.camel@hpe.com> References: <20170814170552.j3lhzvnwlpz75y4g@pd.tnic> <1502732561.2042.141.camel@hpe.com> <20170814180526.wtfjzgc6uye2qtx6@pd.tnic> <1502734083.2042.143.camel@hpe.com> <20170814183551.sgk2i7lxpmpyodhv@pd.tnic> <1502736750.2042.145.camel@hpe.com> <20170814193432.mjldfhfal5ba5dt7@pd.tnic> <1502741290.2042.147.camel@hpe.com> <20170814203942.6t3mrq3hc324blab@pd.tnic> <1502810766.2042.149.camel@hpe.com> <20170815154815.wy3dqwb4yi3feahg@intel.com> In-Reply-To: <20170815154815.wy3dqwb4yi3feahg@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=toshi.kani@hpe.com; x-originating-ip: [15.211.195.8] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DF4PR84MB0188;6:3ZnwfYgxyHQrwTLWsaJT4dOrf9k5+/qFjNTZhFKh20zxpKqUObs/4Fb2ySbos4ksi6wIq0Ac38Gn3xBLn8p9G96nBhe5w9/hKhjnDUARYxIe1WytMrFB7OjvuwplnoPRJG+ojQTXjuOsJOvscZQq4yLQNdWtE0kKNwn6143SU4I3u5radxOcFnEFO0UL00xNnP8sh86cb+IU6Y4pf1DgpM1Z/o/xtHaj6W292bYtO4di5eQ0quA/0rty04prFlByHxK8FVG98ePvWcU5Qwaw31NfbgXhr8l2RzLXZyFLsslAf2Gtf2bxbmI9Dl9XIsQa5mF/hU/rQmkPl/fEU2yO6Q==;5:eU+znsNEA4S2SekQcovdpPfGHzXgSxTSxWan/aV0xqjXxXzeoCV3zOwutV0O/gdhzDtFPhpu8nK0YhhyKQjWzwzJoxLt88EeVu/xzFaNwL11H/v5fxMSdTJeSircwIHmppwABWkPhcSQsqismufjbg==;24:BwCy3BKaqDAJXtaCk5TrYYuNu7V8Yi/VFLcreTY6ewGnyjvM75R6eR7HObWna66qII8bkMSKJhTqAK3pJfp/KBXFs4rHYn69N+FufkBHkrs=;7:5MvelplUIE6HpKz8hi0PDCFeGfAmgqzSSjkK3J/nGugrj3k84h1C959SWorT/lhXtTR3KuqaMwUN8csNHvg0Wp/6F3KameHIY+gsLdGvbk9G4ndYTJtEK7ykIn8h1rHcnBmzex2rl7ON1Yd2CD5L2yDYpUCQ2wC4QLwLaZvICyKqrcHqcaVZ98fvaCUXnyiq05KMohCvujYT/aIgKP/y+I8aeLkkAVEZUzAaC1FBkQg= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: c00cda0e-3605-4afa-d30c-08d4e3f5ba01 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(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:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123564025)(20161123558100)(20161123560025)(6072148)(201708071742011)(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: 04004D94E2 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(39860400002)(377424004)(199003)(189002)(24454002)(66066001)(3660700001)(93886004)(5660300001)(53936002)(105586002)(110136004)(86362001)(3280700002)(5640700003)(2906002)(25786009)(6512007)(68736007)(6246003)(14454004)(54906002)(478600001)(103116003)(33646002)(2351001)(36756003)(106356001)(4326008)(54356999)(305945005)(76176999)(6916009)(6436002)(189998001)(2900100001)(2950100002)(7736002)(2501003)(50986999)(8676002)(81156014)(81166006)(3846002)(102836003)(229853002)(6116002)(97736004)(8936002)(77096006)(101416001)(6486002)(6506006);DIR:OUT;SFP:1102;SCL:1;SRVR:DF4PR84MB0188;H:DF4PR84MB0187.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;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: 15 Aug 2017 15:53:09.2006 (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 v7FFrSDu029917 Content-Length: 550 Lines: 16 On Tue, 2017-08-15 at 08:48 -0700, Luck, Tony wrote: > On Tue, Aug 15, 2017 at 08:35:51AM -0700, Kani, Toshimitsu wrote: > > User apps like ras-mc-ctl works as expected for a given (not-so- > > great) DIMM info from SMBIOS as well.  I do not see a probelm from > > user perspective, either. > > Won't the user see all their DIMMs reported for each memory > controller under /sys/devices/system/edac/mc/mc*/dimm* ? > > That sounds confusing. ghes_edac only fills dimm_info to the first mci. So, users do not see duplicated info. Thanks, -Toshi