Re: [PATCH v4 1/6] mpt3sas: Introduce mpt3sas_base_pci_device_is_available

2018-09-27 Thread Lukas Wunner
On Thu, Sep 27, 2018 at 01:47:46PM -0500, Bjorn Helgaas wrote: > mpt3sas_wait_for_commands_to_complete(...) > { > ... > + if (!mpt3sas_base_pci_device_is_available(ioc)) > +return; > > # In the definitive case, we returned above. If we get here, we > # think the device *mig

Re: [PATCH v4 1/6] mpt3sas: Introduce mpt3sas_base_pci_device_is_available

2018-09-27 Thread Lukas Wunner
On Wed, Sep 26, 2018 at 04:32:41PM -0500, Bjorn Helgaas wrote: > On Wed, Sep 26, 2018 at 09:52:34AM +0530, Suganath Prabu S wrote: > > @@ -6853,6 +6872,13 @@ mpt3sas_wait_for_commands_to_complete(struct > > MPT3SAS_ADAPTER *ioc) > > > > ioc->pending_io_count = 0; > > > > + if (!mpt3sas_b

Re: [Patch v1 0/7] mpt3sas: Hot-Plug Surprise removal support on IOC.

2018-09-13 Thread Lukas Wunner
On Wed, Sep 12, 2018 at 03:31:07PM +0530, Sreekanth Reddy wrote: > On Wed, Sep 5, 2018 at 1:08 PM, Lukas Wunner wrote: > > On Wed, Sep 05, 2018 at 11:45:45AM +0530, Sreekanth Reddy wrote: > > > I have one more instance where still we need this poll kthread, i.e > > > d

Re: [Patch v1 0/7] mpt3sas: Hot-Plug Surprise removal support on IOC.

2018-09-05 Thread Lukas Wunner
On Wed, Sep 05, 2018 at 11:45:45AM +0530, Sreekanth Reddy wrote: > On Tue, Sep 4, 2018 at 3:12 PM, Lukas Wunner wrote: > > Many scsi drivers call pci_channel_offline() to detect inaccessibility > > of the device due to a PCI error: > > https://elixir.bootlin.com/

Re: [Patch v1 0/7] mpt3sas: Hot-Plug Surprise removal support on IOC.

2018-09-04 Thread Lukas Wunner
On Tue, Sep 04, 2018 at 11:19:04AM +0530, Sreekanth Reddy wrote: > On Fri, Aug 31, 2018 at 2:25 PM, Lukas Wunner wrote: > > * Just reading the vendor ID may not be sufficient to detect unplug, > > it may also read as "all ones" if the link is down due to error > >

Re: [Patch v1 0/7] mpt3sas: Hot-Plug Surprise removal support on IOC.

2018-08-31 Thread Lukas Wunner
[cc += linux-pci, benh] On Fri, Aug 31, 2018 at 7:37 AM Suganath Prabu S wrote: > Posting below set of patches to support PCIe Hot Plug surprise removal, > and few defect fixes. Please cross-post to linux-pci in the future. Regarding [PATCH 1/7] mpt3sas: Introduce mpt3sas_base_pci_device_is_u