[PATCH v5 0/2] EDAC/altera: select A10/S10 behaviour by ECC manager compatible
From: Rounak Das
Date: Wed Jul 08 2026 - 05:19:30 EST
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/20260627061723.43014-1-rounakdas2025@xxxxxxxxx/
- Carry the distinction in the match table .data, read via
device_get_match_data() (Dinh).
v3:
https://lore.kernel.org/lkml/20260617000711.60804-1-rounakdas2025@xxxxxxxxx/
- Use altr,socfpga-s10-ecc-manager, store once as is_s10 (Dinh).
- Fix checkpatch alignment.
v2:
https://lore.kernel.org/linux-edac/20260616081709.48774-1-rounakdas2025@xxxxxxxxx/
- 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)