EDAC/synopsys: Use the correct register to disable the error interrupt on v3 hw
authorSherry Sun <sherry.sun@nxp.com>
Wed, 27 Apr 2022 01:51:36 +0000 (09:51 +0800)
committerBorislav Petkov <bp@suse.de>
Fri, 22 Jul 2022 12:31:30 +0000 (14:31 +0200)
commitbe76ceaf03bc04e74be5e28f608316b73c2b04ad
tree5a9fc74eb571e14395f6e325812fd588852c1404
parentff6992735ade75aae3e35d16b17da1008d753d28
EDAC/synopsys: Use the correct register to disable the error interrupt on v3 hw

v3.x Synopsys EDAC DDR doesn't have the QOS Interrupt register. Use the
ECC Clear Register to disable the error interrupts instead.

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-2-sherry.sun@nxp.com
drivers/edac/synopsys_edac.c