Re: [PATCH 1/4] PCI MSI: Store the number of messages in the msi_desc

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Ellerman
Date: Sunday, July 6, 2008 - 8:48 pm

On Sun, 2008-07-06 at 20:41 -0600, Matthew Wilcox wrote:
the
ing

Yeah seriously :)  The _ is part of it, but MSI_ATTRIB is uglier than
PCI_CAP_ID_MSI exactly because it's not PCI_CAP_ID_MSI, which exists and
is well defined and is used in the rest of the code.


I didn't say it was a queue, but a Q ;)  But I agree it's not a good
name, the spec calls it "multiple message enable", nvec would match the
existing code best, or log_nvec.


Eventually yeah, last I looked we didn't have any drivers using more
than a few MSI-X, but at some point it will happen.


Yeah that would be nice.


It would be nice, but as I said the other day we have at least one
driver (s2io) which asks for non-consecutive entries. That doesn't
effect the irq allocation, but you need some way for the driver to
express it.

cheers

--=20
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
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 1/4] PCI MSI: Store the number of messages in t ..., Michael Ellerman, (Sun Jul 6, 8:48 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)