RE: [PATCH 2/3] PCI: hv: fix hv_pci_remove() 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 2/3] PCI: hv: fix hv_pci_remove() for hot-remove > > 1. We don't really need such a big on-stack buffer when sending >

RE: [PATCH 2/3] PCI: hv: fix hv_pci_remove() 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 2/3] PCI: hv: fix hv_pci_remove() for hot-remove > > 1. We don't really need such a big on-stack buffer when sending > the

[PATCH 2/3] PCI: hv: fix hv_pci_remove() for hot-remove

2016-11-09 Thread Dexuan Cui
1. We don't really need such a big on-stack buffer when sending the teardown_packet: vmbus_sendpacket() here only uses sizeof(struct pci_message). 2. In the hot-remove case (PCI_EJECT), after we send PCI_EJECTION_COMPLETE to the host, the host will send a RESCIND_CHANNEL message to us and the host