RE: [PATCH 1/2 v2] pci-hyperv: properly handle pci bus remove

2016-10-04 Thread KY Srinivasan
vger.kernel.org; Long Li > Subject: Re: [PATCH 1/2 v2] pci-hyperv: properly handle pci bus remove > > On Wed, Sep 14, 2016 at 07:10:01PM -0700, Long Li wrote: > > From: Long Li > > > > hv_pci_devices_present is called in hv_pci_remove when we remove a PCI > devi

RE: [PATCH 1/2 v2] pci-hyperv: properly handle pci bus remove

2016-09-27 Thread Long Li
vger.kernel.org; Long Li > Subject: Re: [PATCH 1/2 v2] pci-hyperv: properly handle pci bus remove > > On Wed, Sep 14, 2016 at 07:10:01PM -0700, Long Li wrote: > > From: Long Li > > > > hv_pci_devices_present is called in hv_pci_remove when we remove a PCI > devi

Re: [PATCH 1/2 v2] pci-hyperv: properly handle pci bus remove

2016-09-27 Thread Bjorn Helgaas
On Wed, Sep 14, 2016 at 07:10:01PM -0700, Long Li wrote: > From: Long Li > > hv_pci_devices_present is called in hv_pci_remove when we remove a PCI device > from host (e.g. by disabling SRIOV on a device). In hv_pci_remove, the bus is > already removed before the call, so we don't need to resca

[PATCH 1/2 v2] pci-hyperv: properly handle pci bus remove

2016-09-14 Thread Long Li
From: Long Li hv_pci_devices_present is called in hv_pci_remove when we remove a PCI device from host (e.g. by disabling SRIOV on a device). In hv_pci_remove, the bus is already removed before the call, so we don't need to rescan the bus in the workqueue scheduled from hv_pci_devices_present.