All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Grant Grundler <grundler@parisc-linux.org>
Cc: PARISC list <parisc-linux@lists.parisc-linux.org>
Subject: Re: [parisc-linux] Proposal for implementing IRQ affinity
Date: 31 Aug 2004 15:44:14 -0400	[thread overview]
Message-ID: <1093981554.5296.14.camel@mulgrave> (raw)
In-Reply-To: <20040831183415.GG20353@colo.lackof.org>

On Tue, 2004-08-31 at 14:34, Grant Grundler wrote:
> Ok. Why?

Because the only interrupts we can control the affinity of are the true
32/64 CPU interrupts. Everything else is effectively hanging off one of
these. If we try to pretend that we can change the affinity of the
subordinate interrupts, we'll end up confusing irqbalanced

> I'd really like one method to convert GSI to local interrupt numbers.
> Doing away with local translations and directly indexing into a global
> array seems the most obvious to me.

I know, but our interrupt structure isn't a flat array, it's a tree with
the root being a given CPU interrupt.  Obviously, since we have to give
some cookie to the devices to identify the interrupt, we end up having a
numeric array.

> But we still want dino/PCI to work. So we have to replace the
> existing abstraction with another one...

Yes, the abstraction for dino/PCI is that we allocate extra interrupts
to the region, but they're unequivocally tied to the give CPU interrupt
line the dino happens to be using.

> A single global array can implement a hierarchy as well.
> Entries just contain indexes into other parts of the array.

Yes, but we need to expose only the cpu interrupts to irqbalanced.  The
problem is that for the purposes of affinity, we can't treat the
fictitious subordinate interrupts as being ordinary independent
interrupts.

James


_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2004-08-31 19:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31  3:31 [parisc-linux] Proposal for implementing IRQ affinity James Bottomley
2004-08-31 15:13 ` Bjorn Helgaas
2004-08-31 17:29   ` James Bottomley
2004-08-31 17:43     ` Bjorn Helgaas
2004-08-31 17:14 ` Grant Grundler
2004-08-31 17:43   ` Matthew Wilcox
2004-08-31 18:06     ` Grant Grundler
     [not found]       ` <20040831185750.GS16196@parcelfarce.linux.theplanet.co.uk>
2004-08-31 19:21         ` Grant Grundler
2004-08-31 19:28           ` Matthew Wilcox
2004-08-31 19:48             ` Grant Grundler
2004-08-31 21:26             ` Michael S. Zick
2004-08-31 22:19               ` Matthew Wilcox
2004-08-31 17:49   ` James Bottomley
2004-08-31 18:34     ` Grant Grundler
2004-08-31 19:44       ` James Bottomley [this message]
2004-08-31 20:21         ` Grant Grundler

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=1093981554.5296.14.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=grundler@parisc-linux.org \
    --cc=parisc-linux@lists.parisc-linux.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.