There are now non-volatile versions of DIMMs. Add a new entry to
"enum mem_type" and a new string in edac_mem_types[].
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/edac_mc.c | 3 ++-
include/linux/edac.h | 3 +++
2 files changed, 5 insertions(+), 1 deletio
This just covers the topology function of the EDAC driver.
We locate which DIMM slots are populated with NVDIMMs and
query the NFIT and SMBIOS tables to get the size.
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/Kconfig| 5 +++-
drivers/edac/skx_edac.
When we first scan the SMBIOS table, save the size of the DIMM.
Provide a function for other code (EDAC driver) to look up the size
of a DIMM from its SMBIOS handle.
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/firmware/dmi_scan.c | 31 +++
i
There are now non-volatile versions of DIMMs. Add a new entry to
"enum mem_type" and a new string in edac_mem_types[].
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/edac_mc.c | 3 ++-
include/linux/edac.h | 3 +++
2 files changed, 5 insertions(+), 1 deletio
EDAC driver needs to look up attributes of NVDIMMs provided in SMBIOS.
Provide a function that looks up an acpi_nfit_memory_map from a device
handle (node/socket/mc/channel/dimm) and returns the SMBIOS handle.
Also pass back the "flags" so we can see if the NVDIMM is OK.
Signed-off-by:
may depend on that.
Reported-by: Borislav Petkov <b...@suse.de>
Acked-by: Borislav Petkov <b...@suse.de>
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/edac_mc.c | 40
drivers/edac/edac_mc_sysfs.c | 26 ++-
This just covers the topology function of the EDAC driver.
We locate which DIMM slots are populated with NVDIMMs and
query the NFIT and SMBIOS tables to get the size.
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/Kconfig| 5 +++-
drivers/edac/skx_edac.
.
The "partial support" part is that the changes here only do the detection of
the non-volatile DIMMs. Coming later will be another patch/series to teach
skx_edac how to decode system addresses to NVDIMM addresses. But this part
stands on its own and is a useful first step.
Tony Luck (
When we first scan the SMBIOS table, save the size of the DIMM.
Provide a function for other code (EDAC driver) to look up the size
of a DIMM from its SMBIOS handle.
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/firmware/dmi_scan.c | 29 +
include
There are now non-volatile versions of DIMMs. Add a new entry to
"enum mem_type" and update places that use it with new strings.
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/edac_mc.c | 1 +
drivers/edac/edac_mc_sysfs.c | 3 ++-
include/linux/edac.h
n 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 prov
This just covers the topology function of the EDAC driver.
We locate which DIMM slots are populated with NVDIMMs and
query the NFIT and SMBIOS tables to get the size.
Signed-off-by: Tony Luck <tony.l...@intel.com>
---
drivers/edac/Kconfig| 2 ++
drivers/edac/skx_edac.
EDAC driver needs to look up attributes of NVDIMMs provided in SMBIOS.
Provide a function that looks up an acpi_nfit_memory_map from a device
handle (node/socket/mc/channel/dimm) and returns the SMBIOS handle.
Also pass back the "flags" so we can see if the NVDIMM is OK.
Signed-off-by:
13 matches
Mail list logo