summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-inv.c
diff options
context:
space:
mode:
authorNiravkumar L Rabara <niravkumarlaxmidas.rabara@altera.com>2025-11-11 16:13:33 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2025-11-11 14:59:04 +0100
commit281326be67252ac5794d1383f67526606b1d6b13 (patch)
treec202de1eb11044a1790b104ef839138d303af3af /lib/crypto/mpi/mpi-inv.c
parentfd3ecda38fe0cb713d167b5477d25f6b350f0514 (diff)
EDAC/altera: Use INTTEST register for Ethernet and USB SBE injection
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") Signed-off-by: Niravkumar L Rabara <niravkumarlaxmidas.rabara@altera.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Dinh Nguyen <dinguyen@kernel.org> Cc: stable@vger.kernel.org Link: https://patch.msgid.link/20251111081333.1279635-1-niravkumarlaxmidas.rabara@altera.com
Diffstat (limited to 'lib/crypto/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions