From: "Suresh Chandra Mannava" <coreppcdevel@gmail.com>
To: linuxppc-dev@ozlabs.org, linuxppc-embedded@ozlabs.org
Subject: Interrupt routing ARCH=ppc
Date: Tue, 11 Mar 2008 18:24:30 +0530 [thread overview]
Message-ID: <543e3890803110554g94d7514sc8aee2031918a705@mail.gmail.com> (raw)
[-- 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 --]
reply other threads:[~2008-03-11 12:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543e3890803110554g94d7514sc8aee2031918a705@mail.gmail.com \
--to=coreppcdevel@gmail.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc-embedded@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).