]> git.baikalelectronics.ru Git - kernel.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)
committerBorislav Petkov <bp@suse.de>
Fri, 22 Jul 2022 12:31:38 +0000 (14:31 +0200)
commit8789c390e957f4bb04ecc5711f8972bfef34f772
treebaf8e60168429677fa48d287fffc2ab4689cc5a4
parented6178dab03bca00a5db87441cfd39ab9f1f9e0d
EDAC/synopsys: Re-enable the error interrupts on v3 hw

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: 862db527c495 ("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
drivers/edac/synopsys_edac.c