Re: [patch net] net: dsa: mv88e6xxx: Fix clearing of stats counters

2018-11-11 Thread David Miller
From: Andrew Lunn Date: Sun, 11 Nov 2018 00:41:10 +0100 > The mv88e6161 would sometime fail to probe with a timeout waiting for > the switch to complete an operation. This operation is supposed to > clear the statistics counters. However, due to a read/modify/write, > without the needed mask, the

[patch net] net: dsa: mv88e6xxx: Fix clearing of stats counters

2018-11-10 Thread Andrew Lunn
The mv88e6161 would sometime fail to probe with a timeout waiting for the switch to complete an operation. This operation is supposed to clear the statistics counters. However, due to a read/modify/write, without the needed mask, the operation actually carried out was more random, with invalid para