MPC8555 PCI interrupts are not coming
afleming at freescale.com
Sat Aug 26 02:08:05 EST 2006
On Aug 24, 2006, at 07:52, Parav Pandit wrote:
> Can someone give light on PCI interrupts routing to the OS from the
The routing depends on your board. On the CDS board, PCI interrupts
are mapped to ext[0-3]. On the ADS, they are mapped to ext[1-4].
There are four PCI interrupts (A,B,C,D), and they are usually
swizzled so that different slots have a different mapping (this way,
two cards in different slots which use interrupt A don't conflict).
> Basically I am able to talk to PCI end device connected on MPC8555
> board in 2.6.13 but not getting interrupts reported by my device.
> When I read the INTERRUPT_LINE byte, it comes as 0. pdev->irq is
> also reporting 0.
> Due to that request_irq() fails. But now I request for IRQ line 8 +
> openPIC offset.
> Handler gets registered but still not getting the interrupts. (PCI
> interrupt line is 8,9 in case of MPC8555).
When are you trying to read the interrupt_line byte? In 2.6.13, you
need to have an IRQ mapping function, which takes the idsel reported
by the slot, and converts it to the interrupt number for the PIC.
That code also writes the INTERRUPT_LINE byte.
> Can anyone please guide me, what are the different things need be
> configure in the platform code to receive the PCI interrupts in the
> I don't understand the pci_irq_table, and what it should represent?
> Currrently no one is writing the INTERRUPT LINE value in the config
> In which function I should configure that value? pcibios_fixup??
> Parav Pandit
> Do you Yahoo!?
> Get on board. You're invited to try the new Yahoo! Mail.
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
More information about the Linuxppc-embedded