From patchwork Thu Aug 25 11:04:23 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 1096092 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7PB4qPL028047 for ; Thu, 25 Aug 2011 11:04:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753172Ab1HYLEZ (ORCPT ); Thu, 25 Aug 2011 07:04:25 -0400 Received: from www.linutronix.de ([62.245.132.108]:33107 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753035Ab1HYLEZ (ORCPT ); Thu, 25 Aug 2011 07:04:25 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.72) (envelope-from ) id 1QwXjT-0003OZ-PE; Thu, 25 Aug 2011 13:04:23 +0200 Date: Thu, 25 Aug 2011 13:04:23 +0200 From: Sebastian Andrzej Siewior To: Luciano Coelho Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Thomas Gleixner Subject: Re: 3.1-rc3 fails to boot on my pandaboard Message-ID: <20110825110423.GA12911@linutronix.de> References: <1314268769.2296.283.camel@cumari> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1314268769.2296.283.camel@cumari> X-Key-Id: 97C4700B X-Key-Fingerprint: 09E2 D1F3 9A3A FF13 C3D3 961C 0688 1C1E 97C4 700B User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Thu, 25 Aug 2011 11:05:04 +0000 (UTC) * Luciano Coelho | 2011-08-25 13:39:29 [+0300]: >Hi, Hi, >Any ideas what may be going wrong? I think my commit was identified as bogus and tglx is going to revert it. The problem is that I force ONESHOT mode for all threaded IRQs but there are also others without the flag which is not allowed. I was trying to check something but I don't get my board to boot. Could you please try to boot with the patch reverted and paste me the the output of cat /proc/interrupts | grep 74 ? I *think* that the flow handler is level (I can't find evidence of it beeing edge, and omap_alloc_gc() is the place installing it). So could you please gather additional debug info with this patch? %pS should resolve the function names. Sebastian --- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 2e94258..eda25a0 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1327,6 +1327,9 @@ int request_threaded_irq(unsigned int irq, irq_handler_t handler, if (!irq_settings_can_request(desc)) return -EINVAL; + if (irq == 74) + printk(KERN_ERR "%s() h %pS th %pS f %lx dev %s flow %pS\n", __func__, + handler, thread_fn, irqflags, devname, desc->handle_irq); if (!handler) { if (!thread_fn) return -EINVAL;