]> 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)
commit93ea5af7a2e7eebfc2f1abd3ef533df7c796bfab
treebaf8e60168429677fa48d287fffc2ab4689cc5a4
parent8300dc17bc43909bd0118eae06ef1995fa705bf3
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: 62c365e0620e ("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