From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id B2196224488BC for ; Mon, 12 Mar 2018 11:18:10 -0700 (PDT) From: Tony Luck Subject: [PATCH 0/5 V3] Teach EDAC about non-volatile DIMMs and add partial support to skx_edac Date: Mon, 12 Mar 2018 11:24:25 -0700 Message-Id: <20180312182430.10335-1-tony.luck@intel.com> In-Reply-To: References: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Borislav Petkov Cc: Jean Delvare , linux-nvdimm@lists.01.org, "Rafael J. Wysocki" , Qiuxu Zhuo , linux-acpi@vger.kernel.org, Tony Luck , Borislav Petkov , Aristeu Rozanski , Mauro Carvalho Chehab , Len Brown List-ID: Add support for non-volatile DIMMS [Repost with fixes from Ross Zwisler and Jean Delvare's comments] Changes since previous version: Parts 1-2 unchanged since last post Part 3 Use new SPDX license header for new file include/acpi/nfit.h Part 4 Fix some ~0ul that should be ~0ull Part 5 Rationalize error handling for various different reasons that we didn't find the size of a non-volatile DIMM Fix some printk formats. Fix test for ~0ul that should be ~0ull Re-order code to avoid computing number of pages twice Dan gave the thumb's up to run part 3 through the EDAC tree. Tony Luck (5): EDAC: Drop duplicated array of strings for memory type names edac: Add new memory type for non-volatile DIMMs acpi, nfit: Add function to look up nvdimm device and provide SMBIOS handle firmware: dmi: Add function to look up a handle and return DIMM size EDAC, skx_edac: Detect non-volatile DIMMs drivers/acpi/nfit/core.c | 27 ++++++++++++++++++ drivers/edac/Kconfig | 5 +++- drivers/edac/edac_mc.c | 41 +++++++++++++-------------- drivers/edac/edac_mc_sysfs.c | 26 ++--------------- drivers/edac/skx_edac.c | 66 ++++++++++++++++++++++++++++++++++++++++---- drivers/firmware/dmi_scan.c | 31 +++++++++++++++++++++ include/acpi/nfit.h | 18 ++++++++++++ include/linux/dmi.h | 2 ++ include/linux/edac.h | 3 ++ 9 files changed, 168 insertions(+), 51 deletions(-) create mode 100644 include/acpi/nfit.h -- 2.14.1 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm