]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
EDAC/synopsys: Re-enable the error interrupts on v3 hw
authorSherry Sun <sherry.sun@nxp.com>
Wed, 27 Apr 2022 01:51:37 +0000 (09:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Aug 2022 10:05:29 +0000 (12:05 +0200)
commitee9da1d02ffea8bbc4e3dd48811acb423aede2df
tree5cc63d26bf352bda9b7aa770641a5ba5859e3aee
parent07002838ee781ef890ef8ba9e84bde3f79099542
EDAC/synopsys: Re-enable the error interrupts on v3 hw

commit 4bcffe941758ee17becb43af3b25487f848f6512 upstream.

zynqmp_get_error_info() writes 0 to the ECC_CLR_OFST register after
an interrupt for a {un-,}correctable error is raised, which disables
the error interrupts. Then the interrupt handler will be called only
once. Therefore, re-enable the error interrupt line at the end of
intr_handler() for v3.x Synopsys EDAC DDR.

Fixes: f7824ded4149 ("EDAC/synopsys: Add support for version 3 of the Synopsys EDAC DDR")
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Shubhrajyoti Datta <Shubhrajyoti.datta@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220427015137.8406-3-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/edac/synopsys_edac.c