Re: Regulator regression in next-20180305
From: Mark Brown
Date: Tue Mar 06 2018 - 14:12:35 EST
On Tue, Mar 06, 2018 at 01:56:42PM -0300, Fabio Estevam wrote:
> On Tue, Mar 6, 2018 at 1:30 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:
> > - for (i = 0; rdev; rdev = rdev_get_supply(rdev), i++)
> > + for (i = 1000; rdev; rdev = rdev_get_supply(rdev), i++)
> > mutex_lock_nested(&rdev->mutex, i);
> With this change the log is a bit different, but still get a kernel hang:
> https://pastebin.com/eF08TnuT
Yeah, that's what I expected. What we really need to figure out I think
is what exactly is taking the lock that we end up colliding with, I
don't seem to be able to reproduce so I'm having to just go on staring
at the code here.
Attachment:
signature.asc
Description: PGP signature