linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Multiple MSI, take 4
@ 2008-07-11 21:16 Matthew Wilcox
  2008-07-11 21:16 ` [PATCH 1/6] Allow a small amount of data to be stored with the interrupt number Matthew Wilcox
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Matthew Wilcox @ 2008-07-11 21:16 UTC (permalink / raw)
  To: linux-pci, linux-kernel
  Cc: grundler, mingo, tglx, jgarzik, linux-ide, suresh.b.siddha, benh,
	jbarnes, rdunlap, mtk.manpages


Here we go with take 4.  Changes:

 - Check the requested number of interrupts against the maximum number
   the device claims to support.  Thanks to Hidetoshi Seto for pointing
   out this oversight.
 - Implemented Eric's suggestion of using a single IRQ and storing the
   data with it.
 - As a result, don't try to support the mode in the AHCI driver where
   the excess ports all share the last interrupt.  It could be done, but
   it would be rather messy and I don't have hardware that supports that
   mode anyway.

I'm fairly comfortable with the subchannel notion we're introducing
here.  It's more flexible than MSI and doesn't impose a penalty on
architectures which don't implement it.  It makes some things more
complex, but it makes other things simpler, so I think it's a wash from
a cleanliness standpoint.

Git tree still at 
git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc.git multiple-msi
(and this push specifically at multiple-msi-20080711)

Patches to follow.

-- 
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."

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-07-12 18:44 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-11 21:16 Multiple MSI, take 4 Matthew Wilcox
2008-07-11 21:16 ` [PATCH 1/6] Allow a small amount of data to be stored with the interrupt number Matthew Wilcox
2008-07-11 21:16 ` [PATCH 2/6] PCI MSI: Replace 'type' with 'is_msix' Matthew Wilcox
2008-07-11 21:16 ` [PATCH 3/6] PCI MSI: Add support for multiple messages Matthew Wilcox
2008-07-11 21:16 ` [PATCH 4/6] Rewrite MSI-HOWTO Matthew Wilcox
2008-07-11 21:16 ` [PATCH 5/6] AHCI: Request multiple MSIs Matthew Wilcox
2008-07-11 21:16 ` [PATCH 6/6] x86-64: Support for " Matthew Wilcox
2008-07-12  5:54   ` Ingo Molnar
2008-07-12 16:30     ` Matthew Wilcox
2008-07-12 18:44       ` Yinghai Lu
2008-07-12  7:37 ` Multiple MSI, take 4 Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).