Re: [RFC net-next] net: stmmac: should not modify RX descriptor when STMMAC resume

2021-04-20 Thread Jon Hunter
On 20/04/2021 02:49, Joakim Zhang wrote: ... >> I have tested this patch, but unfortunately the board still fails to resume >> correctly. So it appears to suffer with the same issue we saw on the previous >> implementation. > > Could I double check with you? Have you reverted Commit 9c63faaa9

RE: [RFC net-next] net: stmmac: should not modify RX descriptor when STMMAC resume

2021-04-19 Thread Joakim Zhang
..@gmail.com > Cc: dl-linux-imx ; tred...@nvidia.com; > netdev@vger.kernel.org > Subject: Re: [RFC net-next] net: stmmac: should not modify RX descriptor when > STMMAC resume > > Hi Joakim, > > On 19/04/2021 12:59, Joakim Zhang wrote: > > When system resume back,

Re: [RFC net-next] net: stmmac: should not modify RX descriptor when STMMAC resume

2021-04-19 Thread Jon Hunter
Hi Joakim, On 19/04/2021 12:59, Joakim Zhang wrote: > When system resume back, STMMAC will clear RX descriptors: > stmmac_resume() > ->stmmac_clear_descriptors() > ->stmmac_clear_rx_descriptors() > ->stmmac_init_rx_desc() > ->