[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161129.203412.2165914496634643324.davem@davemloft.net>
Date: Tue, 29 Nov 2016 20:34:12 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: zumeng.chen@...driver.com
Cc: nicolas.ferre@...el.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/1] net: macb: ensure ordering write to re-enable
RX smoothly
From: Zumeng Chen <zumeng.chen@...driver.com>
Date: Mon, 28 Nov 2016 21:55:00 +0800
> When a hardware issue happened as described by inline comments, the register
> write pattern looks like the following:
>
> <write ~MACB_BIT(RE)>
> + wmb();
> <write MACB_BIT(RE)>
>
> There might be a memory barrier between these two write operations, so add wmb
> to ensure an flip from 0 to 1 for NCR.
>
> Signed-off-by: Zumeng Chen <zumeng.chen@...driver.com>
> ---
>
> V2 changes:
>
> Add the same wmb for at91ether as well based on reviewer's suggestion.
Applied, thanks.
Powered by blists - more mailing lists