EDAC/ghes: Cleanup, rework and improvement of memory reporting
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 15 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
2 of 11 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Aristeu Rozanski | Matthias Brugger |
|---|---|---|
| Series | A-b | |
| 1/11 | R-b | |
| 2/11 | ||
| 3/11 | R-b | |
| 4/11 | ||
| 5/11 | ||
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] EDAC/ghes: Cleanup, rework and improvement of memory reporting
This series contains a significant cleanup and rework of the ghes driver and improves the memory reporting as follows:
* fix of DIMM label in error reports (patch #2),
* creation of multiple memory controllers to group DIMMs depending on the physical memory array (patches #9-#11). This should reflect the memory topology of a system in sysfs. Esp. multi-node systems show up with one memory controller per node now.
The changes base on the remaining patches that are a general cleanup and rework:
* small change to edac_mc, not really dependent on the rest of the series (patch #1),
* general cleanup and rework of the ghes driver (patches #3-#8).
The implementation of multiple memory controllers bases on the suggestion from James (see patch #11), thank you James for your valuable input here. The patches are created newly from scratch and obsolete the GHES part of my previous postings a while ago that have not been accepted upstream:
https://lore.kernel.org/patchwork/cover/1093488/
Tested on a Marvell/Cavium ThunderX2 Sabre (dual socket) system.
Robert Richter (11):
EDAC/mc: Use int type for parameters of edac_mc_alloc() EDAC/ghes: Setup DIMM label from DMI and use it in error reports EDAC/ghes: Remove local variable rdr_mask in ghes_edac_dmidecode() EDAC/ghes: Remove unused members of struct ghes_edac_pvt, rename it to
ghes_mci
EDAC/ghes: Cleanup struct ghes_edac_dimm_fill, rename it to
ghes_dimm_fill
EDAC/ghes: Carve out MC device handling into separate functions EDAC/ghes: Have a separate code path for creating the fake MC EDAC/ghes: Carve out code into ghes_edac_register_{one,fake}() EDAC/ghes: Implement DIMM mapping table for SMBIOS handles EDAC/ghes: Create an own device for each mci
EDAC/ghes: Create one memory controller per physical memory array
drivers/edac/edac_mc.c | 7 +- drivers/edac/edac_mc.h | 6 +- drivers/edac/ghes_edac.c | 514 +++++++++++++++++++++++++++++---------- include/linux/edac.h | 2 - 4 files changed, 390 insertions(+), 139 deletions(-)
Signature · 1 line
2.20.1