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:08:01 +0800
committerBorislav Petkov (AMD) <bp@alien8.de>2025-11-11 13:48:13 +0100
commitfd3ecda38fe0cb713d167b5477d25f6b350f0514 (patch)
treedb5665a1ae19d75ea7c41f01ddad151971e6beb0 /lib/crypto/mpi/mpi-inv.c
parent2cf95b9baa52262bfb645cb3c04f902dd50c29e2 (diff)
EDAC/altera: Handle OCRAM ECC enable after warm reset
The OCRAM ECC is always enabled either by the BootROM or by the Secure Device Manager (SDM) during a power-on reset on SoCFPGA. However, during a warm reset, the OCRAM content is retained to preserve data, while the control and status registers are reset to their default values. As a result, ECC must be explicitly re-enabled after a warm reset. Fixes: 17e47dc6db4f ("EDAC/altera: Add Stratix10 OCRAM ECC 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/20251111080801.1279401-1-niravkumarlaxmidas.rabara@altera.com
Diffstat (limited to 'lib/crypto/mpi/mpi-inv.c')
0 files changed, 0 insertions, 0 deletions