public inbox for linux-nvdimm@lists.01.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Teach EDAC driver about NVDIMMs
@ 2017-11-30 20:40 Tony Luck
  2017-11-30 20:40 ` [RFC PATCH 1/4] acpi, nfit: Add function to look up nvdimm device and provide SMBIOS handle Tony Luck
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Tony Luck @ 2017-11-30 20:40 UTC (permalink / raw)
  To: linux-edac
  Cc: Jean Delvare, linux-nvdimm, Aristeu Rozanski, Rafael J. Wysocki,
	Qiuxu Zhuo, linux-acpi, Tony Luck, Borislav Petkov, Lv Zheng,
	Mauro Carvalho Chehab, Len Brown

A Skylake server may have some DIMM slots filled with NVDIMMs
instead of normal DDR4 DIMMs. These are enumerated differently
by the memory controller.

Sadly there isn't an easy way to just peek at some memory controller
register to find the size of these DIMMs, so we have to rely on the
NFIT and SMBIOS tables to get that information.

This series only tackles the topology function of the EDAC
driver.  A later series of patches will fix the address translation
parts so that errors in NVDIMMs will be reported correctly.

It's marked "RFC" because it depends on the new ACPCIA version 20171110
which has only just made it to Rafael's tree.

Some of you may only care about some of the parts that touch code you
maintain, but I copied you on all four because you might like to see
the bigger picture.

Tony Luck (4):
  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: Add new memory type for non-volatile DIMMs
  EDAC, skx_edac: Detect non-volatile DIMMs

 drivers/acpi/nfit/core.c     | 27 +++++++++++++++++++++
 drivers/edac/Kconfig         |  2 ++
 drivers/edac/edac_mc.c       |  1 +
 drivers/edac/edac_mc_sysfs.c |  3 ++-
 drivers/edac/skx_edac.c      | 56 ++++++++++++++++++++++++++++++++++++++++----
 drivers/firmware/dmi_scan.c  | 29 +++++++++++++++++++++++
 include/acpi/nfit.h          | 19 +++++++++++++++
 include/linux/dmi.h          |  2 ++
 include/linux/edac.h         |  3 +++
 9 files changed, 136 insertions(+), 6 deletions(-)
 create mode 100644 include/acpi/nfit.h


base-commit: 3fc70f8be59950ee2deecefdddb68be19b8cddd1
-- 
2.14.1

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-12-06 14:50 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30 20:40 [RFC PATCH 0/4] Teach EDAC driver about NVDIMMs Tony Luck
2017-11-30 20:40 ` [RFC PATCH 1/4] acpi, nfit: Add function to look up nvdimm device and provide SMBIOS handle Tony Luck
2017-11-30 20:40 ` [RFC PATCH 2/4] firmware: dmi: Add function to look up a handle and return DIMM size Tony Luck
2017-12-04 21:38   ` Borislav Petkov
2017-12-04 22:03     ` Luck, Tony
2017-12-04 22:07       ` Borislav Petkov
2017-11-30 20:40 ` [RFC PATCH 3/4] edac: Add new memory type for non-volatile DIMMs Tony Luck
2017-12-04 22:37   ` Borislav Petkov
2017-12-05  0:21     ` Luck, Tony
2017-11-30 20:40 ` [RFC PATCH 4/4] EDAC, skx_edac: Detect " Tony Luck
2017-12-05 10:54   ` Borislav Petkov
2017-12-05 20:03     ` Luck, Tony
2017-12-05 21:44       ` Borislav Petkov
2017-12-05 22:24         ` Luck, Tony
2017-12-06 14:55           ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox