[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <511E51A9.9020908@st.com>
Date: Fri, 15 Feb 2013 16:18:01 +0100
From: Giuseppe CAVALLARO <peppe.cavallaro@...com>
To: Christian Ruppert <christian.ruppert@...lis.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Vineet Gupta <Vineet.Gupta1@...opsys.com>
Subject: Re: [PATCH v2] Prevent interrupt loop with DWMAC MMC RX IPC Counter
On 2/15/2013 3:58 PM, Christian Ruppert wrote:
> If the DesignWare MAC is synthesised with MMC RX IPC Counter, an unmanaged
> and unacknowledged interrupt is generated after some time of operation.
>
> This patch masks the undesired interrupts.
>
> Signed-off-by: Christian Ruppert <christian.ruppert@...lis.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@...com>
> ---
> drivers/net/ethernet/stmicro/stmmac/mmc_core.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/ethernet/stmicro/stmmac/mmc_core.c b/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
> index 0c74a70..50617c5 100644
> --- a/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
> +++ b/drivers/net/ethernet/stmicro/stmmac/mmc_core.c
> @@ -149,6 +149,7 @@ void dwmac_mmc_intr_all_mask(void __iomem *ioaddr)
> {
> writel(MMC_DEFAULT_MASK, ioaddr + MMC_RX_INTR_MASK);
> writel(MMC_DEFAULT_MASK, ioaddr + MMC_TX_INTR_MASK);
> + writel(MMC_DEFAULT_MASK, ioaddr + MMC_RX_IPC_INTR_MASK);
> }
>
> /* This reads the MAC core counters (if actaully supported).
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists