Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1329996imm; Wed, 26 Sep 2018 16:05:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV63M3Vpc7QTbL+v7SMVylTl3mSYywe67jNhCmlr+0oNa0qKfSrAtRD+JRKua+kcEAnFWIUG4 X-Received: by 2002:a62:50c3:: with SMTP id g64-v6mr8267880pfj.244.1538003136261; Wed, 26 Sep 2018 16:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538003136; cv=none; d=google.com; s=arc-20160816; b=mm3PX+bjMenuFu9KGSqkB6pQHu4ZGnEez9XxhNL34mts+2fWkMf2gpYoVr/v3q53ZF Ai63yWXe8LE1WU1PJFg9ZVrSvhR67P+kfaEWo98IvCNyvAA8EPY34f+CM9uQ24/ksA72 dyBkhi0fRFOp+05Lo3/tzd2gtzNpYTCXacwiqC5nIjd9WYpR3YaV+JVguB8iLawZcfqk i7FCHaHGnPnIBida5WZJZL6QlNdqvIDKst67szHZqA3YYAO763uO/mjbbOVhFCPviGtK 4Z6n9m5AjwllM/X26rIEQzFQlnMCayyw88ad/DHIDx9HLL8d4ViVNrFJwT9dh3SeDXhG igHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1+X4VqmRDmOzou7Zx8xXoKKoYjM5Vs4oUw4yTctGJiw=; b=O1oVY4/C1jzacjw31864VHGlPbuWykOacN/kqvhR6F5msV83k7PVTuVeKQXxtEYoFf m8+l6Gn6C7rDWJZUZl3We/Px08z5qvNzzSS/pHUV8bXCo38IEaOb5KKqlMFsaw47+2Rc /AsvQxXbCzjETsckw/xj9ejWo0kxpXnnhqLobst8bwDea7UEf0atJaQzcmqwRyuh0TfJ YHiy03CS7+kr8m1KcAlOKR0NTbJjwXBtqjXNlbRwQSzCLb9jRHgncTYl6ok/lFTTEkVq jVuOGGqqccf5ehMmr0qP/xizelgzZBhHRqC+wY3+O9M+qrysUL0gx7oBe/w5zxjYuJCr kzmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v7-v6si272841pgs.112.2018.09.26.16.05.21; Wed, 26 Sep 2018 16:05:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726560AbeI0FSb (ORCPT + 99 others); Thu, 27 Sep 2018 01:18:31 -0400 Received: from mga06.intel.com ([134.134.136.31]:11979 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726107AbeI0FSb (ORCPT ); Thu, 27 Sep 2018 01:18:31 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2018 16:03:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,308,1534834800"; d="scan'208";a="83538618" Received: from agluck-desk.sc.intel.com (HELO agluck-desk) ([10.3.52.160]) by FMSMGA003.fm.intel.com with ESMTP; 26 Sep 2018 16:02:57 -0700 Date: Wed, 26 Sep 2018 16:02:57 -0700 From: "Luck, Tony" To: Russ Anderson Cc: Borislav Petkov , Mauro Carvalho Chehab , Greg KH , Justin Ernst , russ.anderson@hpe.com, Mauro Carvalho Chehab , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Aristeu Rozanski Filho Subject: Re: [PATCH] Raise maximum number of memory controllers Message-ID: <20180926230257.GA5666@agluck-desk> References: <20180925143449.284634-1-justin.ernst@hpe.com> <20180925152659.GE23986@zn.tnic> <20180925175023.GA16725@agluck-desk> <20180925180458.GG23986@zn.tnic> <20180926093510.GA5584@zn.tnic> <20180926152752.GG5584@zn.tnic> <20180926130340.6b22918b@coco.lan> <20180926161749.GI5584@zn.tnic> <20180926181035.GA1132@agluck-desk> <20180926182317.patqjso7nzw2oxiz@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926182317.patqjso7nzw2oxiz@hpe.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This issue has made me look a bit more at what EDAC puts in sysfs. It seems like the current code inherits some useless baggage from the device calls it makes. E.g. all the "power" subdirectories: $ find /sys/devices/system/edac -name power /sys/devices/system/edac/power /sys/devices/system/edac/mc/mc6/dimm3/power /sys/devices/system/edac/mc/mc6/power /sys/devices/system/edac/mc/mc6/csrow0/power /sys/devices/system/edac/mc/mc6/dimm6/power /sys/devices/system/edac/mc/mc6/dimm0/power /sys/devices/system/edac/mc/mc6/dimm9/power /sys/devices/system/edac/mc/mc4/dimm3/power /sys/devices/system/edac/mc/mc4/power ... total of 50 of these ... $ grep -r . /sys/devices/system/edac/mc/mc6/dimm0/power /sys/devices/system/edac/mc/mc6/dimm0/power/runtime_active_time:0 /sys/devices/system/edac/mc/mc6/dimm0/power/runtime_status:unsupported grep: /sys/devices/system/edac/mc/mc6/dimm0/power/autosuspend_delay_ms: Input/output error /sys/devices/system/edac/mc/mc6/dimm0/power/runtime_suspended_time:0 /sys/devices/system/edac/mc/mc6/dimm0/power/control:auto We don't have stats, nor control of power on a per memory controller or per dimm basis. So all these files are just noise. But ... we are at -rc5. Not sure that we'll figure out, write, test & debug the proper solution in the next 3-4 weeks. So perhaps we should apply -#define EDAC_MAX_MCS 16 +#define EDAC_MAX_MCS 64 as a temporary band-aid to get HPE's 32-socket machine running while we work on the proper fix? -Tony