Re: [PATCH net-next] net: mdio: Fix lockdep falls positive splat

2016-04-11 Thread David Miller
From: Andrew Lunn Date: Mon, 11 Apr 2016 21:40:05 +0200 > MDIO devices can be stacked upon each other. The current code supports > two levels, which until recently has been enough for a DSA mdio bus on > top of another bus. Now we have hardware which has an MDIO mux in the > middle. > > Define a

[PATCH net-next] net: mdio: Fix lockdep falls positive splat

2016-04-11 Thread Andrew Lunn
MDIO devices can be stacked upon each other. The current code supports two levels, which until recently has been enough for a DSA mdio bus on top of another bus. Now we have hardware which has an MDIO mux in the middle. Define an MDIO MUTEX class with three levels. Signed-off-by: Andrew Lunn ---