From: Sebastian Andrzej Siewior Subject: Re: 3.1-rc3 fails to boot on my pandaboard Date: Thu, 25 Aug 2011 13:04:23 +0200 Message-ID: <20110825110423.GA12911@linutronix.de> References: <1314268769.2296.283.camel@cumari> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Return-path: Content-Disposition: inline In-Reply-To: <1314268769.2296.283.camel@cumari> Sender: linux-kernel-owner@vger.kernel.org To: Luciano Coelho Cc: linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, Thomas Gleixner List-Id: linux-omap@vger.kernel.org * 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? 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; %pS should resolve the function names. Sebastian