Re: [PATCH v2] EDAC/altera: Use INTTEST register for Ethernet and USB SBE injection
From: Dinh Nguyen
Date: Tue Nov 11 2025 - 06:57:11 EST
On 11/11/25 02:13, niravkumarlaxmidas.rabara@xxxxxxxxxx wrote:
From: Niravkumar L Rabara <niravkumarlaxmidas.rabara@xxxxxxxxxx>
The current single-bit error injection mechanism flips bits directly in
ECC RAM by performing write and read operations. When the ECC RAM is
actively used by the Ethernet or USB controller, this approach sometimes
trigger a false double-bit error.
Switch both Ethernet and USB EDAC devices to use the INTTEST register
(altr_edac_a10_device_inject_fops) for single-bit error injection,
similar to the existing double-bit error injection method.
Fixes: 064acbd4f4ab ("EDAC, altera: Add Stratix10 peripheral support")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Niravkumar L Rabara <niravkumarlaxmidas.rabara@xxxxxxxxxx>
---
v2 changes:
- Add missing Cc tag
v1 link:
https://lore.kernel.org/all/20251101051723.917688-1-niravkumarlaxmidas.rabara@xxxxxxxxxx/
drivers/edac/altera_edac.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c
index 103b2c2eba2a..5c5d4585d8ae 100644
--- a/drivers/edac/altera_edac.c
+++ b/drivers/edac/altera_edac.c
Acked-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>