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 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html