[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201106301709.48818.marek.vasut@gmail.com>
Date: Thu, 30 Jun 2011 17:09:48 +0200
From: Marek Vasut <marek.vasut@...il.com>
To: Stanislav Brabec <utx@...guin.cz>
Cc: linux-arm-kernel@...ts.infradead.org,
zaurus-devel@...ts.linuxtogo.org,
spi-devel-general@...ts.sourceforge.net,
Igor Grinberg <grinberg@...pulab.co.il>, vapier@...too.org,
khilman@...prootsystems.com, dmitry.torokhov@...il.com,
linux-kernel@...r.kernel.org, pavel@....cz,
linux-input@...r.kernel.org, eric.y.miao@...il.com,
akpm@...ux-foundation.org, broonie@...nsource.wolfsonmicro.com,
Pavel Herrmann <morpheus.ibis@...il.com>
Subject: Re: kernel panic in spi_complete() on spitz (PXA270)
On Thursday, June 30, 2011 04:45:18 PM Stanislav Brabec wrote:
> Marek Vasut wrote:
> > On Thursday, June 23, 2011 06:09:40 PM Stanislav Brabec wrote:
> > > Hallo.
> > >
> > > These Oops and kernel panic were observed on a Zaurus (spitz) machine
> > > (ARMv5, PXA270).
> >
> > Looks similar to "Re: [PATCH v2] Input: Make ADS7846 independent on
> > regulator"
>
> I don't see any trace in that thread. But yes, I was testing your patch
> from this thread. Without it, ADS7846 does not work on spitz (ADS7846
> does not have any dedicated regulator there). I want to
> add .needs_regulator bool to ads7846.c and send the patch again to the
> list.
>
> After sending the trace I was able to reproduced it several times by
> attaching of external charger.
>
> Then I tried to apply "[PATCH] MAX1111: Fix race condition causing NULL
> pointer exception", connected charger that periodically disconnects and
> not seen the crash again. No OOPS was seen after ~100 reconnects.
>
> So I guess that MAX1111 AC voltage reading (via SPI) was involved in an
> incorrect moment and race happened there and your MAX1111 race condition
> fix fixes it.
It's not mine, it's from Pavel Herrmann actually ;-)
But yes, it's likely either this or the regulator stuff again (which I believed
was fixed).
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists