]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/altera: Use correct write width with the INTTEST register
authorNiravkumar L Rabara <niravkumar.l.rabara@intel.com>
Tue, 27 May 2025 14:57:07 +0000 (07:57 -0700)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 29 May 2025 15:38:55 +0000 (17:38 +0200)
commite5ef4cd2a47f27c0c9d8ff6c0f63a18937c071a3
treec6bdee66f1dea1ad8ef24bceeea3f16c1eeb4485
parentada1b0436b5a290923b072b2eb0368a7869bf680
EDAC/altera: Use correct write width with the INTTEST register

On the SoCFPGA platform, the INTTEST register supports only 16-bit writes.
A 32-bit write triggers an SError to the CPU so do 16-bit accesses only.

  [ bp: AI-massage the commit message. ]

Fixes: c7b4be8db8bc ("EDAC, altera: Add Arria10 OCRAM ECC support")
Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Signed-off-by: Matthew Gerlach <matthew.gerlach@altera.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Cc: stable@kernel.org
Link: https://lore.kernel.org/20250527145707.25458-1-matthew.gerlach@altera.com
drivers/edac/altera_edac.c