From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755785AbdGKN1c (ORCPT ); Tue, 11 Jul 2017 09:27:32 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:44073 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754932AbdGKN1b (ORCPT ); Tue, 11 Jul 2017 09:27:31 -0400 Date: Tue, 11 Jul 2017 15:27:27 +0200 (CEST) From: Thomas Gleixner To: Sebastian Reichel cc: Linus Torvalds , LKML , Andrew Morton , Ingo Molnar , "H. Peter Anvin" , Tony Lindgren , Pavel Machek , Marc Zyngier Subject: Re: [GIT pull] irq updates for 4.13 In-Reply-To: <20170711112125.icbezbb722oymzwv@earth> Message-ID: References: <20170710133505.eo6w73kq2327n34p@earth> <20170711092639.jmfg775bf2k7vwen@earth> <20170711112125.icbezbb722oymzwv@earth> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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