Re: [PATCH V2 2/2] net: dsa: microchip: Add shared regmap mutex

2019-10-16 Thread Andrew Lunn
On Sun, Oct 13, 2019 at 09:32:38PM +0200, Marek Vasut wrote: > The KSZ driver uses one regmap per register width (8/16/32), each with > it's own lock, but accessing the same set of registers. In theory, it > is possible to create a race condition between these regmaps, although > the underlying bus

Re: [PATCH V2 2/2] net: dsa: microchip: Add shared regmap mutex

2019-10-15 Thread David Miller
From: Marek Vasut Date: Sun, 13 Oct 2019 21:32:38 +0200 > diff --git a/drivers/net/dsa/microchip/ksz8795_spi.c > b/drivers/net/dsa/microchip/ksz8795_spi.c > index d0f8153e86b7..614404c40cba 100644 > --- a/drivers/net/dsa/microchip/ksz8795_spi.c > +++ b/drivers/net/dsa/microchip/ksz8795_spi.c > @