diff options
author | Sherry Sun <sherry.sun@nxp.com> | 2022-04-27 09:51:37 +0800 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-07-22 14:31:38 +0200 |
commit | 4bcffe941758ee17becb43af3b25487f848f6512 (patch) | |
tree | baf8e60168429677fa48d287fffc2ab4689cc5a4 /drivers/edac/edac_pci_sysfs.c | |
parent | be76ceaf03bc04e74be5e28f608316b73c2b04ad (diff) | |
download | lwn-4bcffe941758ee17becb43af3b25487f848f6512.tar.gz lwn-4bcffe941758ee17becb43af3b25487f848f6512.zip |
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: 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
Diffstat (limited to 'drivers/edac/edac_pci_sysfs.c')
0 files changed, 0 insertions, 0 deletions