Re: Multiple MSI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Grant Grundler
Date: Monday, July 7, 2008 - 9:17 am

On Thu, Jul 03, 2008 at 01:24:29PM +1000, Benjamin Herrenschmidt wrote:
...
...

The drivers have to deal with the limitations of the HW spec.
In this case it means they have to know they are getting power of 2
number of interrupts. I think exposing this in the API is a requirement
and not optional.


Correct. MSI only has one address for multiple vectors and thus will
only target one CPU. MSI-X has address/vector pairs (1:1).

If the Local-APICs are able to redirect interrupts, then multiple CPUs
can process the interrupts. I expect this "HW Interrupt redirection" is
what the PCI committee expected to be used...however HP (and perhaps others)
have HW which didn't implement "XTP" register (IIRC, that's the register
required to redirect interrupts by the Local-APIC) since one gets
better performance by "targeting" interrupts at specific CPUs.

hth,
grant
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Multiple MSI, Matthew Wilcox, (Wed Jul 2, 7:44 pm)
Re: Multiple MSI, Benjamin Herrenschmidt, (Wed Jul 2, 8:24 pm)
Re: Multiple MSI, Matthew Wilcox, (Wed Jul 2, 8:59 pm)
Re: Multiple MSI, Benjamin Herrenschmidt, (Wed Jul 2, 9:41 pm)
Re: Multiple MSI, Michael Ellerman, (Wed Jul 2, 11:44 pm)
Re: Multiple MSI, Arnd Bergmann, (Thu Jul 3, 2:10 am)
Re: Multiple MSI, Benjamin Herrenschmidt, (Thu Jul 3, 2:17 am)
Re: Multiple MSI, Matthew Wilcox, (Thu Jul 3, 4:31 am)
Re: Multiple MSI, Matthew Wilcox, (Thu Jul 3, 4:34 am)
Re: Multiple MSI, Benjamin Herrenschmidt, (Thu Jul 3, 4:41 am)
Re: Multiple MSI, Michael Ellerman, (Thu Jul 3, 6:52 pm)
Re: Multiple MSI, Alan Cox, (Fri Jul 4, 1:08 am)
Re: Multiple MSI, Matthew Wilcox, (Sat Jul 5, 6:27 am)
[PATCH 2/4] PCI: Support multiple MSI, Matthew Wilcox, (Sat Jul 5, 6:34 am)
[PATCH 3/4] AHCI: Request multiple MSIs, Matthew Wilcox, (Sat Jul 5, 6:34 am)
[PATCH 4/4] x86-64: Support for multiple MSIs, Matthew Wilcox, (Sat Jul 5, 6:34 am)
Re: Multiple MSI, Matthew Wilcox, (Sat Jul 5, 6:43 am)
Re: Multiple MSI, Matthew Wilcox, (Sat Jul 5, 3:38 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Michael Ellerman, (Sun Jul 6, 7:05 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Matthew Wilcox, (Sun Jul 6, 7:45 pm)
Re: [PATCH 1/4] PCI MSI: Store the number of messages in t ..., Benjamin Herrenschmidt, (Sun Jul 6, 8:26 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Michael Ellerman, (Sun Jul 6, 8:56 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Matthew Wilcox, (Mon Jul 7, 4:31 am)
Re: Multiple MSI, Grant Grundler, (Mon Jul 7, 9:17 am)
Re: Multiple MSI, Matthew Wilcox, (Mon Jul 7, 9:39 am)
Re: [PATCH 3/4] AHCI: Request multiple MSIs, Grant Grundler, (Mon Jul 7, 9:45 am)
Re: Multiple MSI, Grant Grundler, (Mon Jul 7, 9:51 am)
Re: [PATCH 3/4] AHCI: Request multiple MSIs, Matthew Wilcox, (Mon Jul 7, 10:48 am)
Re: Multiple MSI, Benjamin Herrenschmidt, (Mon Jul 7, 4:06 pm)
Re: Multiple MSI, Michael Ellerman, (Wed Jul 9, 5:55 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Michael Ellerman, (Wed Jul 9, 6:32 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Matthew Wilcox, (Wed Jul 9, 6:43 pm)
Re: [PATCH 2/4] PCI: Support multiple MSI, Michael Ellerman, (Wed Jul 9, 9:00 pm)
Re: [PATCH 3/4] AHCI: Request multiple MSIs, Grant Grundler, (Sun Jul 20, 12:49 am)