Re: [PATCH 16/16] hold bus_mutex in netlink and search

From: David Fries
Date: Wed Jan 15 2014 - 16:11:19 EST


That's 1 through 14, and 16. Patch 15 was in my tree from another developer,
"drivers/w1/masters/w1-gpio.c: add strong pullup emulation"
and wasn't included in what I submitted. Should I repost the series
in sequence?

On Thu, Jan 16, 2014 at 12:58:02AM +0400, Evgeniy Polyakov wrote:
> Hi
>
> 15.01.2014, 08:52, "David Fries" <David@xxxxxxxxx>:
> > The bus_mutex needs to be taken to serialize access to a specific bus.
> > netlink wasn't updated when bus_mutex was added and was calling
> > without that lock held, and not all of the masters were holding the
> > bus_mutex in a search.  This was causing the ds2490 hardware to stop
> > responding when both netlink and /sys slaves were executing bus
> > commands at the same time.
> >
> > Signed-off-by: David Fries <David@xxxxxxxxx>
>
> Looks good to me, thank you.
> Greg, please pull the whole set if you hadn't yet
>
> Acked-by: Evgeniy Polyakov <zbr@xxxxxxxxxxx>

--
David Fries <david@xxxxxxxxx> PGP pub CB1EE8F0
http://fries.net/~david/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/