When igc_rd32() reads all-ones from a register it assumes the PCIe link is gone, sets hw->hw_addr to NULL and detaches the netdev. From then on rd32() returns ~0 and wr32() is a no-op. Only igc_io_slot_reset() puts hw_addr back, so recovery depends on AER reporting the error. __igc_resume() restores PCI config space, resets the MAC and calls netif_device_attach(), but leaves hw_addr NULL. After a suspend/resume cycle the interface is attached again while every register read still returns all-ones. The driver then reports a link derived from the bogus STATUS and CTRL values and runs into a Tx hang: eno1: PCIe link lost, device now detached igc: Failed to read reg 0xc030! ... suspend / resume ... eno1: NIC Link is Up 2500 Mbps Full Duplex, Flow Control: RX/TX eno1: NIC Link is Down eno1: CTRL ffffffff eno1: STATUS ffffffff eno1: Reset adapter The WARN shows pci_device_is_present() was true when the read failed, so the device was still on the bus. The only way out is to remove and rescan the device. Restore hw_addr once the device is known to be present, as ixgbe_resume() already does. If the device is really gone, the next register read detaches it again. Seen on an I225-V (rev 03) behind an AMD 600 series chipset switch, which loses MMIO access roughly once a week without any AER report. Written with the help of an AI coding assistant (Claude Opus 5.5), which found the bug and drafted the patch and this message; reproduced and tested on the hardware by me. Fixes: 9513d2a5dc7f ("igc: Add legacy power management support") Signed-off-by: François-Xavier Gsell --- drivers/net/ethernet/intel/igc/igc_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c index 1fb5f3cbe93c..3dd2ee9a9011 100644 --- a/drivers/net/ethernet/intel/igc/igc_main.c +++ b/drivers/net/ethernet/intel/igc/igc_main.c @@ -7549,6 +7549,10 @@ static int __igc_resume(struct device *dev, bool rpm) if (!pci_device_is_present(pdev)) return -ENODEV; + + /* A failed register read may have cleared hw_addr. */ + hw->hw_addr = adapter->io_addr; + err = pci_enable_device_mem(pdev); if (err) { netdev_err(netdev, "Cannot enable PCI device from suspend\n"); -- 2.56.1