aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorZumeng Chen <[email protected]>2016-11-28 13:55:00 +0000
committerDavid S. Miller <[email protected]>2016-11-30 01:33:55 +0000
commitffac0e967f20b7637936dbaa21df08c55f672604 (patch)
tree0b79a616d557f4646a717cebc75911a3803670bf /lib/debugobjects.c
parentnet: macb: fix the RX queue reset in macb_rx() (diff)
downloadkernel-ffac0e967f20b7637936dbaa21df08c55f672604.tar.gz
kernel-ffac0e967f20b7637936dbaa21df08c55f672604.zip
net: macb: ensure ordering write to re-enable RX smoothly
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 <[email protected]> Acked-by: Nicolas Ferre <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions