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

2017-02-24 Thread 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. By introducing s

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

2017-02-13 Thread Long Li
bf86f141af91ab2d7cd011db47%7C1% > 7C0%7C636224313474452403&sdata=ELx04yDnSbe1fxXLy7z2iFoKwazKEMlDLrl > p4CWhXbk%3D&reserved=0= > > >> -----Original Message----- > >> From: KY Srinivasan > >> Sent: Friday, January 27, 2017 10:42 AM > &

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

2017-02-11 Thread Bjorn Helgaas
hange.microsoft.com] >> > Sent: Monday, January 23, 2017 9:45 PM >> > To: KY Srinivasan ; Haiyang Zhang >> > ; Bjorn Helgaas >> > Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- >> > ker...@vger.kernel.org; Long Li >> > Subj

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

2017-02-10 Thread Long Li
> Sent: Friday, January 27, 2017 10:42 AM > To: Long Li ; Haiyang Zhang > ; Bjorn Helgaas > Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Long Li > Subject: RE: [Resend PATCH 1/2 v3] pci-hyperv: properly handle pci bus > remove

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

2017-01-27 Thread KY Srinivasan
g; Long Li > Subject: [Resend PATCH 1/2 v3] pci-hyperv: properly handle pci bus remove > > [This sender failed our fraud detection checks and may not be who they > appear to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing] > > From: Long Li > > hv_pci_devic