On Wed, 13 Oct 2010 09:17:01 +0800
"tiejun.chen" <tiejun.c...@windriver.com> wrote:

> Scott Wood wrote:
> > The crash is happening somewhere in mpic_set_irq_type():
> 
> Agreed. That is just where I pointed out on my email replied for OOPS. To 
> enable
> DBG to figure out 'src' and 'mpic->irq_count' from the file,
> arch/powerpc/sysdev/mpic.c,    .
> ======
> int mpic_set_irq_type(unsigned int virq, unsigned int flow_type)
> {
>       ......
>       if (src >= mpic->irq_count)
>               return -EINVAL;
>                       ^
>                       I think this OOPS may be from here.

No, it's after that.  His board code is using the mpic's "isu" remapping
mechanism, and the MSIs aren't covered, so those registers aren't
ioremapped.

-Scott

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to