All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/10] EDAC/{ie31200,igen6}: Fix address decoding and detect IMCs at runtime
@ 2026-07-06  3:22 Qiuxu Zhuo
  2026-07-06  3:22 ` [PATCH 01/10] EDAC/ie31200: Decouple DIMM width decoding from enum order Qiuxu Zhuo
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Qiuxu Zhuo @ 2026-07-06  3:22 UTC (permalink / raw)
  To: Tony Luck, Borislav Petkov; +Cc: Qiuxu Zhuo, Yi Lai, linux-edac, linux-kernel

Intel client EDAC drivers duplicate address translation logic and rely
on platform-specific IMC counts even though the IMCs can be detected
at runtime. This series fixes several decoding bugs, replaces static IMC
counts with runtime detection, and consolidates the common translation
logic to simplify future maintenance.

Patches 1-5: Fix several correctness issues in the ie31200 and igen6
drivers, including interleave boundary handling, channel hash selection,
non-hash address decoding, and logged error address translation.

Patches 6-7: Do small cleanups.

Patches 8-9: Detect the number of IMCs at runtime, allowing new SoCs
to be supported without maintaining per-platform IMC counts while
eliminating redundant resource configuration tables.

Patch 10: Refactor the address translation logic by introducing
shared helpers for the common interleave and hash translation operations.
This removes duplicated implementations across multiple decoding paths,
making future changes easier while preserving existing behavior.

Qiuxu Zhuo (10):
  EDAC/ie31200: Decouple DIMM width decoding from enum order
  EDAC/igen6: Fix interleave boundary condition
  EDAC/igen6: Fix channel selection hash
  EDAC/igen6: Fix channel address decode for non-hash mode
  EDAC/igen6: Fix Raptor Lake-P logged error address
  EDAC/igen6: Remove unnecessary XOR on the zero-valued interleave bit
  EDAC/igen6: Simplify compute die ID comments
  EDAC/igen6: Detect present memory controllers at runtime
  EDAC/igen6: Remove redundant resource configuration tables
  EDAC/igen6: Refactor address translation logic

 drivers/edac/ie31200_edac.c |  18 +-
 drivers/edac/igen6_edac.c   | 466 ++++++++++++++++++++----------------
 2 files changed, 278 insertions(+), 206 deletions(-)


base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482
-- 
2.43.0


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

end of thread, other threads:[~2026-07-07  0:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06  3:22 [PATCH 00/10] EDAC/{ie31200,igen6}: Fix address decoding and detect IMCs at runtime Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 01/10] EDAC/ie31200: Decouple DIMM width decoding from enum order Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 02/10] EDAC/igen6: Fix interleave boundary condition Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 03/10] EDAC/igen6: Fix channel selection hash Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 04/10] EDAC/igen6: Fix channel address decode for non-hash mode Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 05/10] EDAC/igen6: Fix Raptor Lake-P logged error address Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 06/10] EDAC/igen6: Remove unnecessary XOR on the zero-valued interleave bit Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 07/10] EDAC/igen6: Simplify compute die ID comments Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 08/10] EDAC/igen6: Detect present memory controllers at runtime Qiuxu Zhuo
2026-07-06  3:22 ` [PATCH 09/10] EDAC/igen6: Remove redundant resource configuration tables Qiuxu Zhuo
2026-07-06 23:29   ` Luck, Tony
2026-07-07  0:53     ` Zhuo, Qiuxu
2026-07-06  3:22 ` [PATCH 10/10] EDAC/igen6: Refactor address translation logic Qiuxu Zhuo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.