[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150823.230057.178618010826538491.davem@davemloft.net>
Date: Sun, 23 Aug 2015 23:00:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jaedon.shin@...il.com
Cc: f.fainelli@...il.com, pgynther@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH v2] net: bcmgenet: fix uncleaned dma flags
From: Jaedon Shin <jaedon.shin@...il.com>
Date: Fri, 21 Aug 2015 10:08:26 +0900
> Clean the dma flags of multiq ring buffer int the interface stop
> process. This patch fixes that the genet is not running while the
> interface is re-enabled.
>
> $ ifup eth0 - running after booting
> $ ifdown eth0
> $ ifup eth0 - not running and occur tx_timeout
>
> The bcmgenet_dma_disable() in bcmgenet_open() do clean ring16 dma flag
> only. If the genet has multiq, the dma register is not cleaned. and
> bcmgenet_init_dma() is not done correctly. in case
> GENET_V2(tx_queues=4), tdma_ctrl has 0x1e after running
> bcmgenet_dma_disable().
>
> Signed-off-by: Jaedon Shin <jaedon.shin@...il.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists