]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC/altera: Set DDR and SDMMC interrupt mask before registration
authorNiravkumar L Rabara <niravkumar.l.rabara@altera.com>
Fri, 25 Apr 2025 14:26:40 +0000 (07:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 May 2025 07:39:36 +0000 (09:39 +0200)
commitb98f280fa8c195fb94b6776f0d162c0795c13ab9
treebe792012112c4f9bb9dd4b1b4af1f88b2b301adb
parent72d3974ed3a8dce0c66e7a138b84ce8e5fb449e7
EDAC/altera: Set DDR and SDMMC interrupt mask before registration

commit 6dbe3c5418c4368e824bff6ae4889257dd544892 upstream.

Mask DDR and SDMMC in probe function to avoid spurious interrupts before
registration.  Removed invalid register write to system manager.

Fixes: 1166fde93d5b ("EDAC, altera: Add Arria10 ECC memory init functions")
Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@altera.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/20250425142640.33125-3-matthew.gerlach@altera.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h