All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Rhodin <chris@notav8.com>
To: linux-mips@linux-mips.org
Subject: plat_irq_dispatch
Date: Fri, 20 Feb 2009 00:33:09 -0800	[thread overview]
Message-ID: <499E6AC5.5070404@notav8.com> (raw)

Hi,

I've been digging through the interrupt code trying to figure out what 
would be required to make it "generic irq" clean.  I have a couple of 
questions that I haven't been able to answer myself.

1) I count 24 different versions of plat_irq_dispatch, many of them only 
seem to vary in the use and priority of the 8 sources in the cause 
register.  Is this really the case or am I missing something subtle?

2) Why isn't plat_irq_dispatch looping until all active interrupts are 
serviced?

I already have what I believe is a generic plat_irq_dispatch that finds 
the highest priority irq in (almost) constant time.  It needs one block 
of defines to identify the 8 sources and another block to set the 
priorities.

Thanks,

Chris Rhodin

             reply	other threads:[~2009-02-20  8:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-20  8:33 Chris Rhodin [this message]
2009-02-20 13:47 ` plat_irq_dispatch Ralf Baechle

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=499E6AC5.5070404@notav8.com \
    --to=chris@notav8.com \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.