[PATCH v5 0/2] EDAC/altera: select A10/S10 behaviour by ECC manager compatible

Rounak Das <[email protected]> Wed, 8 Jul 2026 13:11:33 +0400
Newsgroups org.kernel.vger.linux-edac,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Replace the CONFIG_64BIT-based A10/S10 selection in the Altera EDAC
driver with the ECC manager compatible. Patch 1 handles the IRQ-layout
selection; patch 2 removes the remaining ifdefs in the double-bit-error
path.

v5:
 - New 2/2: remove the remaining CONFIG_64BIT ifdefs in the DB-error
   path, converting them to is_s10 (Dinh; tested on 32/64-bit).

v4:
https://lore.kernel.org/lkml/[email protected]/
 - Carry the distinction in the match table .data, read via
   device_get_match_data() (Dinh).

v3:
https://lore.kernel.org/lkml/[email protected]/
 - Use altr,socfpga-s10-ecc-manager, store once as is_s10 (Dinh).
 - Fix checkpatch alignment.

v2:
https://lore.kernel.org/linux-edac/[email protected]/
 - Use legal name in Signed-off-by (Borislav).

Rounak Das (2):
  EDAC/altera: use ECC manager compatible to select A10/S10 IRQ layout
  EDAC/altera: remove remaining CONFIG_64BIT ifdefs in the DB-error path

 drivers/edac/altera_edac.c | 127 ++++++++++++++++++-------------------
 drivers/edac/altera_edac.h |   1 +
 2 files changed, 63 insertions(+), 65 deletions(-)

-- 
2.50.1 (Apple Git-155)