Re: [GIT pull] irq updates for 4.13
From: Thomas Gleixner
Date: Tue Jul 11 2017 - 09:27:34 EST
On Tue, 11 Jul 2017, Sebastian Reichel wrote:
> On Tue, Jul 11, 2017 at 12:52:17PM +0200, Thomas Gleixner wrote:
> > On Tue, 11 Jul 2017, Thomas Gleixner wrote:
> > > On Tue, 11 Jul 2017, Sebastian Reichel wrote:
> > > So this crashes in do_raw_spin_unlock_irqrestore() !?! I just have to
> > > wonder how the raw_spin_lock() succeeded. That does not make any sense.
> >
> > can you please apply the patch below on top of 4.12? It's a backport
> > isolating the resource request changes.
>
> Full bootlog for v4.12 + your patch is below. I used the same
> .config with oldconfig.
> [ 1.329315] cpcap-core spi1.0: CPCAP vendor: ST rev: 2.10 (1a)
> [ 1.336914] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
> [ 1.343994] pgd = c0004000
> [ 1.346710] [00000000] *pgd=00000000
> [ 1.350341] Internal error: : 1406 [#1] SMP ARM
> [ 1.354888] Modules linked in:
> [ 1.357971] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.12.0-00001-g2a481f732c4b #1539
> [ 1.365936] Hardware name: Generic OMAP4 (Flattened Device Tree)
> [ 1.371978] task: ee8aadc0 task.stack: ee8ac000
> [ 1.376556] PC is at lock_release+0x25c/0x360
> [ 1.380950] LR is at lock_release+0x25c/0x360
Slightly different function, but in the same way non sensical.
I used your config with the extra bits for beaglebone XM enabled and it
just works. The irq_request_resources() callback is invoked and ends up in
omap_gpio_get_direction() without any complaints.
I'm running out of ideas right now.
Thanks,
tglx