From: Andrew Lunn <and...@lunn.ch> 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 operation actually carried out was more > random, with invalid parameters, resulting in the switch not > responding. We need to preserve the histogram mode bits, so apply a > mask to keep them. > > Reported-by: Chris Healy <chris.he...@zii.aero> > Fixes: 40cff8fca9e3 ("net: dsa: mv88e6xxx: Fix stats histogram mode") > Signed-off-by: Andrew Lunn <and...@lunn.ch> Oops. Applied and queued up for -stable.