public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] Cleanup and add support for AMD Family 1Ah-based SOCs
@ 2025-09-09 18:53 Avadhut Naik
  2025-09-09 18:53 ` [PATCH v3 1/5] EDAC/amd64: Generate ctl_name string at runtime Avadhut Naik
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Avadhut Naik @ 2025-09-09 18:53 UTC (permalink / raw)
  To: linux-edac; +Cc: bp, yazen.ghannam, linux-kernel, avadhut.naik

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/20250722192855.3108575-1-avadhut.naik@amd.com/

v2: https://lore.kernel.org/all/20250807201843.4045761-1-avadhut.naik@amd.com/

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
-- 
2.43.0


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-09-16 16:10 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 18:53 [PATCH v3 0/5] Cleanup and add support for AMD Family 1Ah-based SOCs Avadhut Naik
2025-09-09 18:53 ` [PATCH v3 1/5] EDAC/amd64: Generate ctl_name string at runtime Avadhut Naik
2025-09-10 14:51   ` Yazen Ghannam
2025-09-10 15:53     ` Naik, Avadhut
2025-09-09 18:53 ` [PATCH v3 2/5] EDAC/amd64: Remove NUM_CONTROLLERS macro Avadhut Naik
2025-09-10 15:05   ` Yazen Ghannam
2025-09-10 15:48     ` Naik, Avadhut
2025-09-09 18:53 ` [PATCH v3 3/5] EDAC/amd64: Add support for AMD family 1Ah-based newer models Avadhut Naik
2025-09-10 15:13   ` Yazen Ghannam
2025-09-10 16:08     ` Naik, Avadhut
2025-09-09 18:53 ` [PATCH v3 4/5] EDAC/mc_sysfs: Increase legacy channel support to 16 Avadhut Naik
2025-09-10 15:17   ` Yazen Ghannam
2025-09-10 15:29     ` Naik, Avadhut
2025-09-09 18:53 ` [PATCH v3 5/5] EDAC/mc_sysfs: Begin deprecating legacy sysfs EDAC interface Avadhut Naik
2025-09-10 15:24   ` Yazen Ghannam
2025-09-10 17:38     ` Naik, Avadhut
2025-09-15 17:04       ` Yazen Ghannam
2025-09-16 16:09         ` Naik, Avadhut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox