summaryrefslogtreecommitdiff
path: root/drivers/net/hippi
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-18 01:37:05 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-18 21:11:09 +0300
commitccaf725a1fd7904ed3e771ed178c2aa1ccb21509 (patch)
tree8f202223c260b201710312cd3c42411463638a3d /drivers/net/hippi
parent33de693248b45640c0d894c2454a9909f2e81ffd (diff)
downloadlinux-ccaf725a1fd7904ed3e771ed178c2aa1ccb21509.tar.xz
ftgmac100: Fix potential ordering issue in NAPI poll
We need to ensure the loads from the descriptor are done after the MMIO store clearing the interrupts has completed, otherwise we might still miss work. A read back from the MMIO register will "push" the posted store and ioread32 has a barrier on weakly aordered architectures that will order subsequent accesses. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hippi')
0 files changed, 0 insertions, 0 deletions