Further testing on AWS m9g.8xlarge (Graviton5), using Ubuntu linux-aws
7.0.0-1018.19 (Linux 7.0.14) with the proposed patch
"irqchip/gic-v3-its: Reconfigure ITS from software state on resume"
applied.

The original ENA MSI-X interrupt failure occurs with both pm_async=1 and
pm_async=0.

With synchronous device PM (pm_async=0), the following messages are
observed:

```
ena 0000:27:00.0 ens34: The ena device sent a completion but the driver didn't 
receive a MSI-X interrupt (cmd 3)
ena 0000:27:00.0 ens34: Failed to create IO CQ. error: -62
ena 0000:27:00.0: Reset attempt failed. Can not reset the device
ena 0000:27:00.0: PM: dpm_run_callback(): pci_pm_restore returns -62
ena 0000:27:00.0: PM: failed to restore: error -62
```

Additionally, the NVMe driver reports:

```
nvme nvme0: I/O tag 16 (1010) QID 0 timeout, completion polled
```

This suggests that both ENA and NVMe devices are completing commands but
failing to deliver the corresponding interrupts after hibernation
restoration.

The memory image is restored successfully, all 31 secondary CPUs are
brought online, and the kernel reports hibernation exit.

The hibernation swap file has been correctly provisioned at 123.5 GiB.

The proposed ITS patch therefore appears insufficient to resolve the
issue on this Graviton5 configuration, irrespective of asynchronous
device PM.

Has the patch been tested on Graviton5? Could additional redistributor
LPI state restoration be required?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164714

Title:
  ena NIC fails PM restore after EC2 hibernation resume on
  arm64/Graviton with 7.0.0-1010/1011 (noble HWE); 6.17.0-1019 resumes
  cleanly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-aws-7.0/+bug/2164714/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to