lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251013173632.1449366-1-avadhut.naik@amd.com>
Date: Mon, 13 Oct 2025 17:30:39 +0000
From: Avadhut Naik <avadhut.naik@....com>
To: <linux-edac@...r.kernel.org>
CC: <bp@...en8.de>, <yazen.ghannam@....com>, <linux-kernel@...r.kernel.org>,
	<avadhut.naik@....com>
Subject: [PATCH 0/4] Cleanups in amd64_edac

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ