From: Michael Ellerman <michael@ellerman.id.au>
To: Scott Wood <scottwood@freescale.com>
Cc: Andre Schwarz <andre.schwarz@matrix-vision.de>,
linux-ppc list <linuxppc-dev@ozlabs.org>
Subject: Re: Question on MPC83xx interrupts
Date: Wed, 23 Apr 2008 08:57:11 +1000 [thread overview]
Message-ID: <1208905031.6947.0.camel@concordia> (raw)
In-Reply-To: <20080422172306.GA17992@ld0162-tx32.am.freescale.net>
[-- Attachment #1: Type: text/plain, Size: 762 bytes --]
On Tue, 2008-04-22 at 12:23 -0500, Scott Wood wrote:
> On Tue, Apr 22, 2008 at 06:58:33PM +0200, Andre Schwarz wrote:
> > I wonder if the IRQ number should match the vector of the datasheet ...
> > giving :
>
> No. The numbers in /proc/interrupts are virtual IRQ numbers, which are a
> purely Linux-internal construct.
You can see the mapping between virq and hwirq numbers by turning on
CONFIG_VIRQ_DEBUG and looking in /sys/kernel/debug/powerpc/virq_mapping
(after mounting debugfs).
cheers
--
Michael Ellerman
OzLabs, IBM Australia Development Lab
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-04-22 22:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 16:58 Question on MPC83xx interrupts Andre Schwarz
2008-04-22 17:23 ` Scott Wood
2008-04-22 17:36 ` Andre Schwarz
2008-04-22 17:42 ` Scott Wood
2008-04-22 18:51 ` Andre Schwarz
2008-04-22 18:52 ` Scott Wood
2008-04-22 22:57 ` Michael Ellerman [this message]
2008-04-23 7:54 ` André Schwarz
2008-04-23 16:00 ` Segher Boessenkool
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=1208905031.6947.0.camel@concordia \
--to=michael@ellerman.id.au \
--cc=andre.schwarz@matrix-vision.de \
--cc=linuxppc-dev@ozlabs.org \
--cc=scottwood@freescale.com \
/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).