LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* PCIe interrupts in the device tree
@ 2009-03-24 20:24 Johns Daniel
  2009-03-24 20:54 ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: Johns Daniel @ 2009-03-24 20:24 UTC (permalink / raw)
  To: linuxppc-dev

Could somebody please explain the declaration of the PCIe interrupts
in the device tree?

I was under the impression that PCIe interrupts in the PowerPC Linux
kernel default to using INTx signaling (vs. external IRQ pin assertion
and MSI signaling). Am I right?

If so, then do the interrupt-map lines in the DTS refer to the
internal IRQ used by Freescale processors to implement INTx virtual
wire interrupts?

For example, in the mpc8536ds.dts file, under "pci1: pcie@ffe09000" we have:
		interrupt-map = <
			/* IDSEL 0x0 */
			0000 0 0 1 &mpic 4 1
			0000 0 0 2 &mpic 5 1
			0000 0 0 3 &mpic 6 1
			0000 0 0 4 &mpic 7 1
			>;
Are the 4, 5, 6, and 7 internal or external IRQs?

And the "msi@41600" section in the same mpc8536ds.dts file does NOT
affect PCIe interrupts unless a driver calls pci_enable_msi()?

TIA!

-- Johns

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-03-25 13:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-24 20:24 PCIe interrupts in the device tree Johns Daniel
2009-03-24 20:54 ` Kumar Gala
2009-03-24 21:13   ` Johns Daniel
2009-03-25  1:12     ` Kumar Gala
2009-03-25 13:45       ` Johns Daniel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox