EDAC: Convert ghes_edac to a normal module
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | EDAC: Add edac_pr_err/info macrosdrivers/ | +3 | 0 replies | |
| 2/3 | ACPI/GHES: Add an EDAC notifier chaindrivers/ include/ | +16 | 0 replies | |
| 3/3 | EDAC, ghes: Make it a proper moduledrivers/ drivers/ drivers/ +1 more | +74 | 15 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] EDAC: Convert ghes_edac to a normal module
From: Borislav Petkov <[email protected]>
Hi,
here's the conversion of ghes_edac to a proper module using a notifier. This is only the bare minimum stuff and we should do all outstanding work ontop. Which right now is:
* platform whitelist
* Tony: "Additional cleanup: edac_ghes.c should really call cper_mem_err_location() instead of doing pretty much the same thing but with subtle formatting differences ("node:%d" vs. "node: %d")."
Yes, I think we should take a look at doing that eventually as a sensible cleanup.
* Tony: "This driver isn't going to set the EDAC error counts since it just does:
e->top_layer = -1;
e->mid_layer = -1;
e->low_layer = -1;"
Right, that we should address by making layer 0 EDAC_MC_LAYER_SLOT and no other layers as we can't get any channel, branch or whatever DIMM topology from GHES. At least I'm not aware of any.
But that should be enough as this info is good enough for pinpointing the DIMM. From our discussion with Tony:
Quoted 7 lines
Quoted 4 lines
The FRU identifier is:
"The module number of the memory error location. (NODE, CARD, and MODULE should provide the information necessary to identify the failing FRU)."
Sounds pretty good. Generally people don't care about the channel. They want to know which DIMM to replace. This will give them what they want.
Thanks.
Borislav Petkov (3):
EDAC: Add edac_pr_err/info macros
ACPI/GHES: Add an EDAC notifier chain
EDAC, ghes: Make it a proper module
drivers/acpi/apei/ghes.c | 32 +++++++----- drivers/edac/Kconfig | 4 +- drivers/edac/edac_mc.h | 3 ++ drivers/edac/ghes_edac.c | 129 ++++++++++++++++++++++++----------------------- include/acpi/ghes.h | 27 +--------- 5 files changed, 93 insertions(+), 102 deletions(-)
Signature · 1 line
2.14.0.rc0