Skip to content

RFC amd64_edac: EDAC module for AMD64

Borislav Petkov lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 RFC Latest0 of 21 patches 0 repliesNew
  2. v3 RFC21 patches 18 repliesSuperseded
  3. v2 RFC21 patches 46 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC21 patches10 repliesSuperseded

Changelog from the cover letter

- v3:
Split the driver into several .c files based on functionality, removal of StinkyIdentifiers and bunch of cleanups all over the place.

- v2:
Highlights are the addition of two helpers to read/write MSRs on several CPUs, denoted by a cpumask and using an array of MSR values per-CPU, as hpa suggested. Since IMHO they look generic enough I've added them to arch/x86/lib/msr-on-cpu.c (now renamed to msr.c).

Patches in v4 No applies recorded yet

None of the 21 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchMauro Carvalho Chehab
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [RFC PATCH 00/21 v4] amd64_edac: EDAC module for AMD64

Hi all,

here's the newest reworked patchset of the EDAC module for AMD k8, Fam10h and Fam11h processors with a _LOT_ of changes all over the place, among which are removal of NUMA dependency, several bugfixes, reworking error paths/labels in code flow, sysfs attributes renaming, a substantial comments fix/cleanup and many more. The diffstat speaks for itself and additional changes are described in each commit message.

Bunch of thanks to Ingo for his diligent review.

The git repo with the patchset based on Linus' branch from yesterday is at:

git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git for-linus

Changelog:

- v3:
Split the driver into several .c files based on functionality, removal of StinkyIdentifiers and bunch of cleanups all over the place.

- v2:
Highlights are the addition of two helpers to read/write MSRs on several CPUs, denoted by a cpumask and using an array of MSR values per-CPU, as hpa suggested. Since IMHO they look generic enough I've added them to arch/x86/lib/msr-on-cpu.c (now renamed to msr.c).

Thanks,
Boris.

 arch/x86/include/asm/msr.h          |   21 +
 arch/x86/lib/Makefile               |    2 +-
 arch/x86/lib/msr-on-cpu.c           |   97 -
 arch/x86/lib/msr.c                  |  152 ++
 drivers/edac/Kconfig                |   26 +
 drivers/edac/Makefile               |    7 +
 drivers/edac/amd64_edac.c           | 3361 +++++++++++++++++++++++++++++++++++
 drivers/edac/amd64_edac.h           |  657 +++++++
 drivers/edac/amd64_edac_dbg.c       |  255 +++
 drivers/edac/amd64_edac_err_types.c |  161 ++
 drivers/edac/amd64_edac_inj.c       |  185 ++
 drivers/edac/edac_core.h            |    9 +-
 12 files changed, 4831 insertions(+), 102 deletions(-)