On 10/19/2018 9:35 AM, Jeff Guo wrote: > > On 10/19/2018 12:06 AM, Ferruh Yigit wrote: >> On 10/18/2018 7:27 AM, Jeff Guo wrote: >>> When a device is hot-unplugged, pci_remove will be invoked unexpectedly >>> before pci_release, it will caused kernel hung issue which will throw the >>> error info of "Trying to free already-free IRQ XXX". And on the other hand, >>> if pci_remove before pci_release, the interrupt will not got chance to be >>> disabled. So this patch aim to fix this issue by adding pci_release call >>> in pci_remove, it will gurranty that all pci clean up will be done before >>> pci removal. >>> >>> Signed-off-by: Jeff Guo <jia....@intel.com>
Acked-by: Ferruh Yigit <ferruh.yi...@intel.com>