RE: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2017-02-27 Thread Long Li
Helgaas <bhelg...@google.com>; > de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject > > On Fri, Feb 24, 2017 at 09:49:17PM +, Long Li wrote: > >

RE: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2017-02-27 Thread Long Li
gt; p...@vger.kernel.org > Subject: Re: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject > > On Fri, Feb 24, 2017 at 09:49:17PM +, Long Li wrote: > > A PCI_EJECT message can arrive at the same time we are calling > pci_scan_child_bus in the workqueue fo

Re: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2017-02-25 Thread Greg KH
On Fri, Feb 24, 2017 at 09:49:17PM +, Long Li wrote: > A PCI_EJECT message can arrive at the same time we are calling > pci_scan_child_bus in the workqueue for the previous PCI_BUS_RELATIONS > message or in create_root_hv_pci_bus(), in this case we could potentailly > modify the bus from

Re: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2017-02-25 Thread Greg KH
On Fri, Feb 24, 2017 at 09:49:17PM +, Long Li wrote: > A PCI_EJECT message can arrive at the same time we are calling > pci_scan_child_bus in the workqueue for the previous PCI_BUS_RELATIONS > message or in create_root_hv_pci_bus(), in this case we could potentailly > modify the bus from

RE: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2017-01-27 Thread KY Srinivasan
> -Original Message- > From: Long Li [mailto:lon...@exchange.microsoft.com] > Sent: Monday, January 23, 2017 9:46 PM > To: KY Srinivasan ; Haiyang Zhang > ; Bjorn Helgaas > Cc: de...@linuxdriverproject.org;

RE: [Resend PATCH 2/2 v3] pci-hyperv: lock pci bus on device eject

2017-01-27 Thread KY Srinivasan
> -Original Message- > From: Long Li [mailto:lon...@exchange.microsoft.com] > Sent: Monday, January 23, 2017 9:46 PM > To: KY Srinivasan ; Haiyang Zhang > ; Bjorn Helgaas > Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Long Li > Subject: