lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] Initial generic hypertransport interrupt support.
Date
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

>> I didn't really expect you to have an immediate use, but the
>> confirmation is nice. The interesting part is how I have factored out
>> the arch specific details. I believe this is close to the direction
>> you envisioned for msi. If you could look at the basic structure
>> and confirm that the structure looks properly arch neutral that
>> would be appreciated. As time permits I want to make the msi code
>> look more the this hypertransport irq code.
>
> Ok, I'll try to have a second look in the plane :) (I'm flying off
> tomorrow). If you are interested in the new IRQ infrastructure I did for
> powerpc, it's now upstream (read comments in arch/powerpc/kernel/irq.c).

Ok. Thanks. If I stay sufficient stuck in irq land I will. I keep
hoping to find the end of this project :) This all started when I
looked at some problem with irqs and say hey that is easy to fix
you just do this....

> I don't have time to work much on the MSI aspect of things before OLS
> though and I'll be away after that until end of august with only
> intermittent internet access, so we'll talk about it again either at OLS
> itself if we find some time, or when I'm back.

Sure, it looks like I at least get to play care taker of this code for
a while.

I think the separation of linux irq numbers and hardware addresses
seems fairly sane. Having something you can get a grip on is nice but
that really doesn't work for things like msi's. Unless we move to a
completely sparse architecture where the irq number is:
((((domain*256)+bus)*256)+devfn)*1024

As for supporting multiple irqs in plain MSI mode, I don't think
we want to do that. The problem is that multiple interrupts
in msi mode cannot be individually routed. I think we really want
to encourage vendors who are building cards with multiple MSI irqs
to use MSI-X. MSI-X has a lot fewer ugly special cases and all
architectures can individually route the irqs.

If there are interesting cards that support just MSI mode and really
need more than one irq I would be happy to reconsider that decision
but my impression was that plain MSI was basically not quite flexible
enough to really be interesting, and supporting just one MSI irq was
ok but any more would lead to all kinds of strange special cases.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-11 08:33    [W:0.065 / U:0.100 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site