linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: sudheer <urwithsudheer@gmail.com>
To: linuxppc-embedded@ozlabs.org
Subject: Regarding MPC8540 IRQ Issue
Date: Sat, 16 Jun 2007 14:57:36 +0530	[thread overview]
Message-ID: <4673AD08.1080800@gmail.com> (raw)

Hello All

I am working on MPC8540 board placing it in the PCI slot of the x86 system.
After system bootup , i could see the powerpc board detected and pci 
config space configured.
But i could not find any IRQ assigned for it.

SetUp:
Host: x86 System- Linux-2.6.9
HOST PCI Slot is 64-bit, 66MHz
Agent: MPC8540 Board.

Here is dump of "lspci -vx " for this device.

04:03.0 Power PC: Motorola MPC8540 (rev 20) (prog-if 01)
        Flags: bus master, 66Mhz, fast devsel, latency 64
        Memory at dee00000 (32-bit, non-prefetchable) [size=1M]
        Capabilities: [60] #00 [0000]
00: 57 10 08 00 46 01 b0 00 20 01 20 0b 00 40 00 00
10: 00 00 e0 de 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 60 00 00 00 00 00 00 00 00 00 00 00

 From the above dump - IRQ Pin & Line of config space shows zeroes.

I tried writing a small module and probing for IRQ generating a message 
interrupt. Though i could see in the 8540 message status register that 
interrupt is generated, i could not get any IRQ when i do the probe. For 
this trial,  i have configured the PIC message enable register, message 
vector/priority and destination registers, processor current task 
priority register (CPTR).

Can anyone give me some suggestions to try out.

Thanks
Sudheer

             reply	other threads:[~2007-06-16  9:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-16  9:27 sudheer [this message]
2007-06-17  0:16 ` Regarding MPC8540 IRQ Issue Bhupender Saharan
2007-06-18 14:37   ` sudheer
2007-06-18 22:18     ` Bhupender Saharan

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=4673AD08.1080800@gmail.com \
    --to=urwithsudheer@gmail.com \
    --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).