RE: [PATCH 3/3] PCI: hv: delete the device earlier from hbus->children for hot-remove

2016-11-14 Thread KY Srinivasan
shins ; Hadden > Hoppert ; Vitaly Kuznetsov > ; jasow...@redhat.com; a...@canonical.com; > o...@aepfle.de; linux-ker...@vger.kernel.org > Subject: [PATCH 3/3] PCI: hv: delete the device earlier from hbus->children > for hot-remove > > After we send a PCI_EJECTION_COMPLETE messa

RE: [PATCH 3/3] PCI: hv: delete the device earlier from hbus->children for hot-remove

2016-11-11 Thread Jake Oshins
shins ; Hadden > Hoppert ; Vitaly Kuznetsov > ; jasow...@redhat.com; a...@canonical.com; > o...@aepfle.de; linux-ker...@vger.kernel.org > Subject: [PATCH 3/3] PCI: hv: delete the device earlier from hbus->children > for hot-remove > > After we send a PCI_EJECTION_COMPLETE messa

[PATCH 3/3] PCI: hv: delete the device earlier from hbus->children for hot-remove

2016-11-09 Thread Dexuan Cui
After we send a PCI_EJECTION_COMPLETE message to the host, the host will immediately send us a PCI_BUS_RELATIONS message with relations->device_count == 0, so pci_devices_present_work(), running on another thread, can find the being-ejected device, mark the hpdev->reported_missing to true, and run