Re: [PATCH] PCI/ERR: handle disconnected devices in report_error_detected

2022-06-08 Thread Bjorn Helgaas
On Wed, Jun 01, 2022 at 09:40:24AM +0200, Christoph Hellwig wrote: > When a device is already unplugged by pciehp by the time that the AER > handler is invoked, the PCIe device will lready be in the > pci_channel_io_perm_failure state. In that case we should simply > return PCI_ERS_RESULT_DISCONNE

Re: [PATCH] PCI/ERR: handle disconnected devices in report_error_detected

2022-06-07 Thread Sathyanarayanan Kuppuswamy
Hi, On 6/1/22 12:40 AM, Christoph Hellwig wrote: When a device is already unplugged by pciehp by the time that the AER handler is invoked, the PCIe device will lready be in the /s/lready/already pci_channel_io_perm_failure state. In that case we should simply return PCI_ERS_RESULT_DISCONNEC