Re: [PATCH 2/2] net: xilinx_emaclite: fix freezes due to unordered I/O

2017-02-15 Thread David Miller
From: Anssi Hannula Date: Tue, 14 Feb 2017 19:11:45 +0200 > The xilinx_emaclite uses __raw_writel and __raw_readl for register > accesses. Those functions do not imply any kind of memory barriers and > they may be reordered. > > The driver does not seem to take that

[PATCH 2/2] net: xilinx_emaclite: fix freezes due to unordered I/O

2017-02-14 Thread Anssi Hannula
The xilinx_emaclite uses __raw_writel and __raw_readl for register accesses. Those functions do not imply any kind of memory barriers and they may be reordered. The driver does not seem to take that into account, though, and the driver does not satisfy the ordering requirements of the hardware.