Skip to content

Commit dfafb19

Browse files
dinguyen702Dinh Nguyen
authored andcommitted
HSD #1308655004: don't clear the ue/ce status bits
When there is a uncorrected or double-bit error, the kernel will panic and will result in a watchdog reset. When the SDM gets the reset, it needs to know that a DBE had occurred so it can scrub the DDR on a reboot. Thus we should not clear the CE/UE status bits in the EDAC. Signed-off-by: Dinh Nguyen <[email protected]>
1 parent 5f1586c commit dfafb19

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/edac/synopsys_edac.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ static int zynqmp_get_error_info(struct synps_edac_priv *priv)
455455
out:
456456
clearval = ECC_CTRL_CLR_CE_ERR | ECC_CTRL_CLR_CE_ERRCNT;
457457
clearval |= ECC_CTRL_CLR_UE_ERR | ECC_CTRL_CLR_UE_ERRCNT;
458-
writel(clearval, base + ECC_CLR_OFST);
459458
writel(0x0, base + ECC_CLR_OFST);
460459

461460
return 0;

0 commit comments

Comments
 (0)