Re: [PATCH] eisa: standardize on eisa_register_driver like similar bus registrations

2013-10-07 Thread James Bottomley
On Mon, 2013-10-07 at 16:02 -0400, David Miller wrote: > From: Matthew Whitehead > Date: Sat, 5 Oct 2013 22:35:58 -0400 > > > The other buses (isa, pci, pnp, parport, usb, tty, etc) all use the > > convention > > of ${BUSNAME}_register_driver. Rewrite the little remaining code that uses > > EI

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Michael Ellerman
On Wed, Oct 02, 2013 at 12:29:04PM +0200, Alexander Gordeev wrote: > This series is against "next" branch in Bjorn's repo: > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > > Currently pci_enable_msi_block() and pci_enable_msix() interfaces > return a error code in case of failure,

Re: xcopy testing with ddpt

2013-10-07 Thread Nicholas A. Bellinger
On Tue, 2013-10-08 at 00:07 +0100, Chris Boot wrote: > On 07/10/2013 23:38, Nicholas A. Bellinger wrote: > > On Mon, 2013-10-07 at 15:18 -0700, Nicholas A. Bellinger wrote: > >> On Mon, 2013-10-07 at 06:03 +0200, Thomas Glanzmann wrote: > >>> Hello Doug, > >>> > >>> * Douglas Gilbert [2013-10-07 0

Re: xcopy testing with ddpt

2013-10-07 Thread Chris Boot
On 07/10/2013 23:38, Nicholas A. Bellinger wrote: > On Mon, 2013-10-07 at 15:18 -0700, Nicholas A. Bellinger wrote: >> On Mon, 2013-10-07 at 06:03 +0200, Thomas Glanzmann wrote: >>> Hello Doug, >>> >>> * Douglas Gilbert [2013-10-07 00:58]: Great, another one working. >> >> (CC'ing Hannes) >>

Re: xcopy testing with ddpt

2013-10-07 Thread Nicholas A. Bellinger
On Mon, 2013-10-07 at 15:18 -0700, Nicholas A. Bellinger wrote: > On Mon, 2013-10-07 at 06:03 +0200, Thomas Glanzmann wrote: > > Hello Doug, > > > > * Douglas Gilbert [2013-10-07 00:58]: > > > Great, another one working. > > (CC'ing Hannes) > > > > BTW list_id=0 has a special meaning in some co

Re: xcopy testing with ddpt

2013-10-07 Thread Nicholas A. Bellinger
On Mon, 2013-10-07 at 06:03 +0200, Thomas Glanzmann wrote: > Hello Doug, > > * Douglas Gilbert [2013-10-07 00:58]: > > Great, another one working. (CC'ing Hannes) > > BTW list_id=0 has a special meaning in some context > > (buried deep in T10 documents: spc4r36j.pdf). That is > > probably why H

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Ben Hutchings
On Sun, 2013-10-06 at 09:10 +0200, Alexander Gordeev wrote: > On Sun, Oct 06, 2013 at 05:19:46PM +1100, Benjamin Herrenschmidt wrote: > > On Sun, 2013-10-06 at 08:02 +0200, Alexander Gordeev wrote: > > > In fact, in the current design to address the quota race decently the > > > drivers would have

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Ben Hutchings
On Tue, 2013-10-08 at 07:10 +1100, Benjamin Herrenschmidt wrote: > On Mon, 2013-10-07 at 14:01 -0400, Tejun Heo wrote: > > I don't think the same race condition would happen with the loop. The > > problem case is where multiple msi(x) allocation fails completely > > because the global limit went d

Re: [PATCH RFC 54/77] ntb: Ensure number of MSIs on SNB is enough for the link interrupt

2013-10-07 Thread Jon Mason
On Mon, Oct 07, 2013 at 08:38:45PM +0200, Alexander Gordeev wrote: > On Mon, Oct 07, 2013 at 09:50:57AM -0700, Jon Mason wrote: > > On Sat, Oct 05, 2013 at 11:43:04PM +0200, Alexander Gordeev wrote: > > > On Wed, Oct 02, 2013 at 05:48:05PM -0700, Jon Mason wrote: > > > > On Wed, Oct 02, 2013 at 12:

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Benjamin Herrenschmidt
On Mon, 2013-10-07 at 14:01 -0400, Tejun Heo wrote: > I don't think the same race condition would happen with the loop. The > problem case is where multiple msi(x) allocation fails completely > because the global limit went down before inquiry and allocation. In > the loop based interface, it'd r

Re: [PATCH] eisa: standardize on eisa_register_driver like similar bus registrations

2013-10-07 Thread David Miller
From: Matthew Whitehead Date: Sat, 5 Oct 2013 22:35:58 -0400 > The other buses (isa, pci, pnp, parport, usb, tty, etc) all use the convention > of ${BUSNAME}_register_driver. Rewrite the little remaining code that uses > EISA > to follow this convention for easier readability. > > This affects

Re: [PATCH RFC 54/77] ntb: Ensure number of MSIs on SNB is enough for the link interrupt

2013-10-07 Thread Alexander Gordeev
On Mon, Oct 07, 2013 at 09:50:57AM -0700, Jon Mason wrote: > On Sat, Oct 05, 2013 at 11:43:04PM +0200, Alexander Gordeev wrote: > > On Wed, Oct 02, 2013 at 05:48:05PM -0700, Jon Mason wrote: > > > On Wed, Oct 02, 2013 at 12:49:10PM +0200, Alexander Gordeev wrote: > > > > Signed-off-by: Alexander Go

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Tejun Heo
Hello, Alexander. On Wed, Oct 02, 2013 at 12:48:16PM +0200, Alexander Gordeev wrote: > Alexander Gordeev (77): > PCI/MSI: Fix return value when populate_msi_sysfs() failed > PCI/MSI/PPC: Fix wrong RTAS error code reporting > PCI/MSI/s390: Fix single MSI only check > PCI/MSI/s390: Remove su

Re: [PATCH RFC 07/77] PCI/MSI: Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Tejun Heo
Hello, On Wed, Oct 02, 2013 at 12:48:23PM +0200, Alexander Gordeev wrote: > +static int foo_driver_enable_msi(struct foo_adapter *adapter, int nvec) > +{ > + rc = pci_get_msi_cap(adapter->pdev); > + if (rc < 0) > + return rc; > + > + nvec = min(nvec, rc); > + if (nvec <

Re: [PATCH RFC 05/77] PCI/MSI: Convert pci_msix_table_size() to a public interface

2013-10-07 Thread Tejun Heo
Hello, On Wed, Oct 02, 2013 at 12:48:21PM +0200, Alexander Gordeev wrote: > Make pci_msix_table_size() to return a error code if the device > does not support MSI-X. This update is needed to facilitate a > forthcoming re-design MSI/MSI-X interrupts enabling pattern. > > Device drivers will use th

Re: [PATCH RFC 00/77] Re-design MSI/MSI-X interrupts enablement pattern

2013-10-07 Thread Tejun Heo
Hey, guys. On Sun, Oct 06, 2013 at 09:10:30AM +0200, Alexander Gordeev wrote: > On Sun, Oct 06, 2013 at 05:19:46PM +1100, Benjamin Herrenschmidt wrote: > > On Sun, 2013-10-06 at 08:02 +0200, Alexander Gordeev wrote: > > > In fact, in the current design to address the quota race decently the > > >

Re: [PATCH RFC 54/77] ntb: Ensure number of MSIs on SNB is enough for the link interrupt

2013-10-07 Thread Jon Mason
On Sat, Oct 05, 2013 at 11:43:04PM +0200, Alexander Gordeev wrote: > On Wed, Oct 02, 2013 at 05:48:05PM -0700, Jon Mason wrote: > > On Wed, Oct 02, 2013 at 12:49:10PM +0200, Alexander Gordeev wrote: > > > Signed-off-by: Alexander Gordeev > > > --- > > > drivers/ntb/ntb_hw.c |2 +- > > > 1 fil

Re: [PATCH RESEND 0/1] AHCI: Optimize interrupt processing

2013-10-07 Thread Alexander Gordeev
On Thu, Oct 03, 2013 at 04:06:51AM -0700, Christoph Hellwig wrote: > On Sat, Jul 20, 2013 at 09:48:28AM -0500, Mike Christie wrote: > > What about the attached only compile tested patch. The patch has the mq > > block code work like the non mq code for bio cleanups. > > > > > > > blk-mq: blk-mq