From: Paul Mackerras <paulus@samba.org>
To: "Zhang Wei-r63237" <Wei.Zhang@freescale.com>
Cc: linuxppc-dev@ozlabs.org,
Wang Haiying-r54964 <Haiying.Wang@freescale.com>,
Yoder Stuart-B08248 <stuart.yoder@freescale.com>
Subject: RE: IRQ numbering (was: Better timer and RTC handling for 8641HPCN.)
Date: Mon, 12 Mar 2007 14:37:17 +1100 [thread overview]
Message-ID: <17908.51949.695284.464275@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <46B96294322F7D458F9648B60E15112C131C8F@zch01exm26.fsl.freescale.net>
Zhang Wei-r63237 writes:
> I think creating some debugfs or sysfs info that translates VIRQ to HW
> irq is a _good_ idea, or just add some fields (irq host, hwirq) in
> /proc/interrupts. If we have this, I'll fix all irqs in dts file and
> remove the fake irq hole.
It would have to be a (host, hwirq) pair. A "hwirq" has no meaning by
itself, since in general we can have multiple interrupt controllers
and they will each have their own space of interrupt numbers.
> Before we have a virq-hwirq mapping list, I keep my option about the irq
> number.
There is no point trying to fake things up in the .dts so that you get
virq numbers that you expect. The numbers in the .dts should be the
controller-relative "hwirq" numbers.
Paul.
next prev parent reply other threads:[~2007-03-12 3:37 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-07 18:49 [PATCH] Better timer and RTC handling for 8641HPCN Jon Loeliger
2007-03-07 19:19 ` Kumar Gala
2007-03-07 19:34 ` Scott Wood
2007-03-07 19:48 ` Kumar Gala
2007-03-08 1:56 ` Zhang Wei-r63237
2007-03-08 2:47 ` Kumar Gala
2007-03-08 5:38 ` Zhang Wei-r63237
2007-03-08 5:57 ` Kumar Gala
2007-03-08 19:10 ` Jon Loeliger
2007-03-08 19:19 ` Haiying Wang
2007-03-08 19:24 ` Kumar Gala
2007-03-09 1:51 ` Zhang Wei-r63237
2007-03-09 3:48 ` Kumar Gala
2007-03-09 4:23 ` Zhang Wei-r63237
2007-03-09 4:52 ` Kumar Gala
2007-03-09 5:24 ` Zhang Wei-r63237
2007-03-09 16:12 ` IRQ numbering (was: Better timer and RTC handling for 8641HPCN.) Kumar Gala
2007-03-12 2:37 ` Zhang Wei-r63237
2007-03-12 3:13 ` Kumar Gala
2007-03-12 3:37 ` Paul Mackerras [this message]
2007-03-08 20:34 ` [PATCH] Better timer and RTC handling for 8641HPCN Kim Phillips
2007-03-08 2:09 ` Zhang Wei-r63237
2007-03-08 3:04 ` Kumar Gala
2007-03-08 8:17 ` Zhang Wei-r63237
2007-03-08 8:28 ` Kumar Gala
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=17908.51949.695284.464275@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=Haiying.Wang@freescale.com \
--cc=Wei.Zhang@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=stuart.yoder@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).