From: Andrey Panin <pazke@donpac.ru>
To: Anton Blanchard <anton@samba.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: irq consolidation
Date: Mon, 16 Jun 2003 16:09:12 +0400 [thread overview]
Message-ID: <20030616120912.GA11652@pazke> (raw)
In-Reply-To: <20030612113405.GH1195@krispykreme>
[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]
On 163, 06 12, 2003 at 09:34:06PM +1000, Anton Blanchard wrote:
>
> > I believe Andrey's IRQ consolidation provides a single flat IRQ
> > structure. Unfortunately, this doesn't reflect the reality that we
> > have on many ARM platforms - it remains the case that we need to
> > decode IRQs on a multi-level basis.
>
> Yes its still a flat structure. On ppc32/64 we offset the interrupts on
> the main controller to provide a space for ISA interrupts to go. Not
> great but it works for us.
May be I missed the point, but it isn't flat.
You can define HAVE_ARCH_IRQ_DESC and provide your own irq_desc(irq)
function which will translate irq number to the corresponding
irq_desc_t structure. You are free to implement any irq mappings
behind the irq_desc(). NR_IRQS is used only as maximal irq number.
So what is the problem ?
> One thing Paul suggested was to have a flag to mark an interrupt as a
> cascade in the irq descriptor. If its set then we also provide a
> get_irq() method (perhaps stashed away in the ->action field). That gives
> us nested interrupt handling in generic code. (assuming you can
> partition your irq numbers somehow)
>
> Anton
--
Andrey Panin | Linux and UNIX system administrator
pazke@donpac.ru | PGP key: wwwkeys.pgp.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-06-16 11:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030607040515.GB28914@krispykreme>
2003-06-07 4:48 ` Anton Blanchard
2003-06-07 9:18 ` Russell King
2003-06-07 22:50 ` Zwane Mwaikambo
2003-06-12 11:15 ` Anton Blanchard
2003-06-12 11:34 ` Anton Blanchard
2003-06-16 12:09 ` Andrey Panin [this message]
2003-06-16 12:57 ` Anton Blanchard
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=20030616120912.GA11652@pazke \
--to=pazke@donpac.ru \
--cc=anton@samba.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®