public inbox for linux-edac@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Cleanups in amd64_edac
@ 2025-10-13 17:30 Avadhut Naik
  2025-10-13 17:30 ` [PATCH 1/4] EDAC/amd64: Generate ctl_name string at runtime Avadhut Naik
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Avadhut Naik @ 2025-10-13 17:30 UTC (permalink / raw)
  To: linux-edac; +Cc: bp, yazen.ghannam, linux-kernel, avadhut.naik

This patchset undertakes some cleanups in the amd64_edac module.

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 sets zn_regs_v2 flag for all SOCs in Family 1Ah and later.

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

NOTE:
These cleanups were earlier submitted as part of the set adding EDAC
support for AMD's newer Family 1Ah-based SOCs.[1] However, since the
support patches were critical to enabling EDAC on newer AMD SOCs and
since these cleanups were still under review, the set was split up.

[1]: https://lore.kernel.org/all/20250909185748.1621098-1-avadhut.naik@amd.com/

Avadhut Naik (4):
  EDAC/amd64: Generate ctl_name string at runtime
  EDAC/amd64: Remove NUM_CONTROLLERS macro
  EDAC/amd64: Set zn_regs_v2 flag for all AMD Family 1Ah-based SOCs
  EDAC/mc_sysfs: Begin deprecating legacy sysfs EDAC interface

 drivers/edac/Kconfig         |  2 +-
 drivers/edac/amd64_edac.c    | 69 +++++++++---------------------------
 drivers/edac/amd64_edac.h    |  9 ++---
 drivers/edac/edac_mc.h       |  5 +++
 drivers/edac/edac_mc_sysfs.c | 16 +++++++++
 5 files changed, 44 insertions(+), 57 deletions(-)


base-commit: 5c4a065eebd70227b51bb2c8d06e9e4c1b313b05
-- 
2.43.0


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

end of thread, other threads:[~2025-11-04 14:59 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-13 17:30 [PATCH 0/4] Cleanups in amd64_edac Avadhut Naik
2025-10-13 17:30 ` [PATCH 1/4] EDAC/amd64: Generate ctl_name string at runtime Avadhut Naik
2025-10-20 13:47   ` Borislav Petkov
2025-10-20 18:28     ` Naik, Avadhut
2025-10-20 19:09       ` Borislav Petkov
2025-10-13 17:30 ` [PATCH 2/4] EDAC/amd64: Remove NUM_CONTROLLERS macro Avadhut Naik
2025-10-21 10:44   ` Borislav Petkov
2025-10-22  6:07     ` Naik, Avadhut
2025-10-13 17:30 ` [PATCH 3/4] EDAC/amd64: Set zn_regs_v2 flag for all AMD Family 1Ah-based SOCs Avadhut Naik
2025-10-29 17:10   ` Borislav Petkov
2025-10-30 13:48     ` Yazen Ghannam
2025-11-03 21:18       ` Borislav Petkov
2025-11-04 14:59         ` Yazen Ghannam
2025-10-13 17:30 ` [PATCH 4/4] EDAC/mc_sysfs: Begin deprecating legacy sysfs EDAC interface Avadhut Naik
2025-10-29 17:24   ` Borislav Petkov
2025-10-30 14:52     ` Naik, Avadhut
2025-10-30 15:01     ` Greg KH
2025-10-30 19:18       ` Borislav Petkov
2025-10-31 12:38         ` Greg KH
2025-10-31 12:54           ` Borislav Petkov
2025-10-31 19:34             ` Naik, Avadhut

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