We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff69927 commit be76ceaCopy full SHA for be76cea
drivers/edac/synopsys_edac.c
@@ -852,8 +852,11 @@ static void enable_intr(struct synps_edac_priv *priv)
852
static void disable_intr(struct synps_edac_priv *priv)
853
{
854
/* Disable UE/CE Interrupts */
855
- writel(DDR_QOSUE_MASK | DDR_QOSCE_MASK,
856
- priv->baseaddr + DDR_QOS_IRQ_DB_OFST);
+ if (priv->p_data->quirks & DDR_ECC_INTR_SELF_CLEAR)
+ writel(0x0, priv->baseaddr + ECC_CLR_OFST);
857
+ else
858
+ writel(DDR_QOSUE_MASK | DDR_QOSCE_MASK,
859
+ priv->baseaddr + DDR_QOS_IRQ_DB_OFST);
860
}
861
862
static int setup_irq(struct mem_ctl_info *mci,
0 commit comments