[PATCH/RFC] powerpc: Add MPC5200 Interrupt Controller support.

Nicolas DET nd at bplan-gmbh.de
Sun Nov 5 22:30:59 EST 2006


On Sun, 05 Nov 2006 21:37:11 +1100
Benjamin Herrenschmidt <benh at kernel.crashing.org> wrote:

> 
> > > You have changed the mapping of L1/L2 but not the device-tree
> > > representation to match them. Which means that you need the ugly hack
> > > above. That is not goot. Fix your device-tree instead and do the same
> > > split in the tree for L1/L2 than you do in the code.
> > 
> > There is no option here.
> 
> I don't agree. Your firmware can always be upgraded. There is no way you
> will impose a broken format on everybody else. Unfortunately, being the
> first implementation, that's just what you are doing...
> 

As said, no option here. I think there is different way to see how works the PIC. However, from a register point of view. There is just critical, main, peripherals, SDMA.

Loot at "ICTL Perstat, MainStat, MainStat, CritStat Encoded Register--MBAR + 0x0524"

Page 160 of the MPC5200BUM.pdf.

> At worst, you'll have to do a fixup pass in prom_init.c
> 

If you really want to change the pic driver, tell me the way to adapt prom_init.c
However, I do think we do it the right way.

Regards,



More information about the Linuxppc-embedded mailing list