Skip to contentSkip to conversation

EDAC, skx_edac: Add address translation for non-volatile DIMMs

PATCH New Luck, Tony 1 participant 1 message Oct 9, 2018

Subsystems (2)
lore
Share & tools
lore

Luck, Tony

author maintainer
#0 lore raw

PATCH 3/3 EDAC, skx_edac: Add address translation for non-volatile DIMMs

From: Qiuxu Zhuo <[email protected]>

Current skx_edac driver doesn't support address translation for non-volatile DIMMs.

The ACPI ADXL DSM method support address translation for both volatile DIMMs and non-volatile DIMMs. So switch skx_edac to use the wrapped ACPI DSM methods, if they are supported and there are non-volatile DIMMs populated on the system.

---
 drivers/edac/Kconfig    |   1 +
 drivers/edac/skx_edac.c | 177 +++++++++++++++++++++++++++++++++++++---
 2 files changed, 165 insertions(+), 13 deletions(-)
drivers/edac/Kconfig +1 -0
index 57304b2e989f..ffd349c12479 100644
@@ -234,6 +234,7 @@ config EDAC_SKX
 	depends on PCI && X86_64 && X86_MCE_INTEL && PCI_MMCONFIG
 	depends on ACPI_NFIT || !ACPI_NFIT # if ACPI_NFIT=m, EDAC_SKX can't be y
 	select DMI
+	select ACPI_ADXL
 	help
 	  Support for error detection and correction the Intel
 	  Skylake server Integrated Memory Controllers. If your
drivers/edac/skx_edac.c +164 -13

288 lines not on this page · raw message