Re: [RFC PATCH] Let device drivers disable msi on shutdown

2014-07-10 Thread Bjorn Helgaas
On Thu, Jul 10, 2014 at 12:53 PM, Keith Busch wrote: > On Thu, 10 Jul 2014, Bjorn Helgaas wrote: >> >> [+cc LKML, Greg KH for driver core async shutdown question] >> On Tue, Jun 24, 2014 at 10:48:57AM -0600, Keith Busch wrote: >>> >>> To provide context why I want to do this asynchronously, NVM-Ex

Re: [RFC PATCH] Let device drivers disable msi on shutdown

2014-07-10 Thread Keith Busch
On Thu, 10 Jul 2014, Bjorn Helgaas wrote: [+cc LKML, Greg KH for driver core async shutdown question] On Tue, Jun 24, 2014 at 10:48:57AM -0600, Keith Busch wrote: To provide context why I want to do this asynchronously, NVM-Express has one PCI device per controller, of which there could be dozen

Re: [RFC PATCH] Let device drivers disable msi on shutdown

2014-07-10 Thread Bjorn Helgaas
[+cc LKML, Greg KH for driver core async shutdown question] On Tue, Jun 24, 2014 at 10:48:57AM -0600, Keith Busch wrote: > I'd like to do shutdowns asynchronously so I can shutdown multiple > devices in parallel, but the pci-driver disables interrupts after my > driver returns from its '.shutdown'

RE: [RFC PATCH] Let device drivers disable msi on shutdown

2014-06-24 Thread Keith Busch
On Tue, 24 Jun 2014, Elliott, Robert (Server Storage) wrote: 1. That will cover the .shutdown function used by mptfc.c, mptspi.c, and mptscsih.c, but mptsas.c uses mptsas_shutdown rather than mptscsih_shutdown. It doesn't call pci_disable_msi either. Missed that; thanks. 2. mptscsih_suspend

RE: [RFC PATCH] Let device drivers disable msi on shutdown

2014-06-24 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Keith Busch > Sent: Tuesday, 24 June, 2014 11:49 AM > To: linux-...@vger.kernel.org; linux-scsi@vger.kernel.org > Cc: Keith Busch; Nagalakshmi Nandigama; Sreekanth Reddy