[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190520.205644.1160707171896552897.davem@davemloft.net>
Date: Mon, 20 May 2019 20:56:44 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: weifeng.voon@...el.com
Cc: mcoquelin.stm32@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, joabreu@...opsys.com,
peppe.cavallaro@...com, alexandre.torgue@...com,
boon.leong.ong@...el.com
Subject: Re: [PATCH net] net: stmmac: dma channel control register need to
be init first
From: Weifeng Voon <weifeng.voon@...el.com>
Date: Tue, 21 May 2019 13:38:38 +0800
> stmmac_init_chan() needs to be called before stmmac_init_rx_chan() and
> stmmac_init_tx_chan(). This is because if PBLx8 is to be used,
> "DMA_CH(#i)_Control.PBLx8" needs to be set before programming
> "DMA_CH(#i)_TX_Control.TxPBL" and "DMA_CH(#i)_RX_Control.RxPBL".
>
> Fixes: 47f2a9ce527a ("net: stmmac: dma channel init prepared for multiple queues")
> Reviewed-by: Zhang, Baoli <baoli.zhang@...el.com>
> Signed-off-by: Ong Boon Leong <boon.leong.ong@...el.com>
> Signed-off-by: Weifeng Voon <weifeng.voon@...el.com>
Applied and queued up for -stable.
Thanks.
Powered by blists - more mailing lists