* Interrupt routing ARCH=ppc
@ 2008-03-11 12:54 Suresh Chandra Mannava
0 siblings, 0 replies; only message in thread
From: Suresh Chandra Mannava @ 2008-03-11 12:54 UTC (permalink / raw)
To: linuxppc-dev, linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]
Hi All,
I am working on porting Linux 2.6.16.60 on PowerPC based board with Tsi109
system controller.
Our platform support is defined in arch/ppc
Here is our hardware interrupt routing
Tsi109 PCI BUS
(BUS 0)
|
|
V
VME controller (BUS 0 IDSEL 16) IRQ 36
PMC Slot (BUS 0 IDSEL 17) IRQ 37
PCI-PCI Bridge (BUS 0 IDSEL 18) No IRQ required
|
(BUS 1)|
|-------> PMC Slot (BUS 1 IDSEL 19) IRQ 38
USB Contr(BUS 1 IDSEL 20) IRQ 39
I faced a problem at map_irq. Due to pci_swizzle, PCI probe is always
returning p2p bridge IDSEL for all device on BUS 1.
In our case, we routed independent interrupt lines for the devices on BUS 1.
I made a quick workaround by assigning IRQ's based on dev->devfn.
Is there any standard way of assigning independent interrupts for the
devices connected below P2P bridge?
I am facing problem with on-board USB controller. Even though
/proc/interrupts shows correct assignment. USB is always returning the
following message
usb 2-1: new low speed USB device using ohci_hcd and address 2
ohci_hcd 0000:01:04.0: Unlink after no-IRQ? Controller is probably using
the wrong IRQ
If the interrupts are not assigned properly, how the above message pop-up
soon after inserting USB device?
Here is the proc entry
# cat /proc/interrupts
CPU0
12: 105 tsi108_pic Level serial
38: 4270 tsi108_PCI_int Level eth0
39: 1 tsi108_PCI_int Level ehci_hcd:usb1, ohci_hcd:usb2,
ohci_hcd :usb3
Whereas USB PMC on BUS 0 works fine.
I request you to provide some pointers on the same.
Thanks a lot,
Suresh
[-- Attachment #2: Type: text/html, Size: 2621 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-11 12:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 12:54 Interrupt routing ARCH=ppc Suresh Chandra Mannava
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).