Re: [PATCH 2/4] PCI: Support multiple MSI

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Wilcox
Date: Wednesday, July 9, 2008 - 6:43 pm

On Thu, Jul 10, 2008 at 11:32:44AM +1000, Michael Ellerman wrote:

I'm OK with that, but ...


... then x86 has to implement arch_msi_check_device in order to _not_
perform the check, which feels a bit bass-ackwards to me.


For MSI-X, nvec will be = 1.  Maybe I should call it something else to
avoid confusion.  The code won't work for me as-was because it won't
call arch_teardown_msi_irq() for all entries.


Ah, I changed the bahviour (to match msix) and forgot to update the
comment.  Thanks, I'll fix that.  By the way I have an updated version
of MSI-HOWTO available from http://www.parisc-linux.org/~willy/MSI-HOWTO.txt


True ... I should do those in separate patches.


There's inconsistency between the various implementations too.  I got
confused with where I was.


Not quite sure why.  You don't get any better typechecking by making it
a static inline.

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."
--
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)