From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Mon, 20 Aug 2012 03:13:52 +0000 Subject: Re: kzm9g boot fail (was Re: irqdomain breaks ap4 boot) Message-Id: <20120820031352.GC25767@linux-sh.org> List-Id: References: <502DDC97.5080501@kmckk.co.jp> In-Reply-To: <502DDC97.5080501@kmckk.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Sun, Aug 19, 2012 at 06:14:41PM -0700, Kuninori Morimoto wrote: > > Hi Paul > > Thank you for your patch > > > > diff --git a/drivers/sh/intc/core.c b/drivers/sh/intc/core.c > > > index 32c26d7..8f32a13 100644 > > > --- a/drivers/sh/intc/core.c > > > +++ b/drivers/sh/intc/core.c > > > @@ -355,7 +355,7 @@ int __init register_intc_controller(struct intc_desc *desc) > > > if (unlikely(res)) { > > > if (res = -EEXIST) { > > > res = irq_domain_associate(d->domain, > > > - irq, irq); > > > + irq2, irq2); > > > if (unlikely(res)) { > > > pr_err("domain association " > > > "failure\n"); > > > > I tried this patch but there is still the same error. > > I checked quickly by debugger, and I found the failing > > irq_domain_associate() is not called here (line 357) but the one at line > > 328. > > But, I got same result. > > This WARNING is indicating > > intc: domain association failure > > So, as kobayashi-san said, > it has happend on previous irq_domain_associate(), not here. > Can you post a boot log with the pr_debug() output in the irqdomain code enabled? You may need to add ignore_loglevel to your kernel command line. If that doesn't produce any further clues I'll have to find one of these boards to see what's going on. --- diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index 49a7772..3b39c0e 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -1,5 +1,7 @@ #define pr_fmt(fmt) "irq: " fmt +#define DEBUG + #include #include #include