Skip to content

Cleanup and add support for AMD Family 1Ah-based SOCs

Avadhut Naik linux-edac lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 11 repliesIn review
  2. v22 patches 6 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

- Remove explicit assignment of the ctl_name string and instead generate
the string at runtime.
- Remove the NUM_CONTROLLERS macro.
- Initiate deprecation of legacy EDAC sysfs interface.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5EDAC/amd64: Generate ctl_name string at runtimedrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+11 -372 replies
2/5EDAC/amd64: Remove NUM_CONTROLLERS macrodrivers/edac/amd64_edac.c drivers/edac/amd64_edac.h+15 -92 replies
3/5EDAC/amd64: Add support for AMD family 1Ah-based newer modelsdrivers/edac/amd64_edac.c+10 -02 replies
4/5EDAC/mc_sysfs: Increase legacy channel support to 16drivers/edac/edac_mc_sysfs.c+24 -02 replies
5/5EDAC/mc_sysfs: Begin deprecating legacy sysfs EDAC interfacedrivers/edac/Kconfig drivers/edac/edac_mc_sysfs.c+15 -14 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] Cleanup and add support for AMD Family 1Ah-based SOCs

This patchset undertakes some cleanups in the amd64_edac module and adds support for newer AMD's Family 1Ah-based SOCs.

The first patch removes explicit assignment of the ctl_name string and instead generates it at runtime using scnprintf.

The second patch removes the NUM_CONTROLLERS macro and instead uses the max_mcs variable to determine the size of chipselect array.

The third patch adds support for new AMD's Family 1Ah-based SOCs.

The fourth patch modifies the legacy EDAC sysfs interface so that the 16 UMCs supported by some of these new SOCs are appropriately visible through the interface.

The fifth patch initiates deprecation of the legacy EDAC sysfs interface.

Changes in v2:
- Remove extra tabs.
- Update the legacy EDAC sysfs interface.

Changes in v3:
- Remove explicit assignment of the ctl_name string and instead generate
the string at runtime.
- Remove the NUM_CONTROLLERS macro.
- Initiate deprecation of legacy EDAC sysfs interface.

Links:

v1: https://lore.kernel.org/all/[email protected]/

v2: https://lore.kernel.org/all/[email protected]/

Avadhut Naik (5):
EDAC/amd64: Generate ctl_name string at runtime EDAC/amd64: Remove NUM_CONTROLLERS macro EDAC/amd64: Add support for AMD family 1Ah-based newer models EDAC/mc_sysfs: Increase legacy channel support to 16 EDAC/mc_sysfs: Begin deprecating legacy sysfs EDAC interface

 drivers/edac/Kconfig         |  2 +-
 drivers/edac/amd64_edac.c    | 73 +++++++++++++++---------------------
 drivers/edac/amd64_edac.h    |  9 +++--
 drivers/edac/edac_mc_sysfs.c | 38 +++++++++++++++++++
 4 files changed, 75 insertions(+), 47 deletions(-)

base-commit: 501973598d05fdb1d1089fbf3cf40b605b836e16

Signature · 1 line
2.43.0