As of now PCI core skips pci_prepare_to_sleep(), which put device to D3,
if pci_save_state() was called by the driver's suspend callback.
IMO there are two ways to handle this:
1) Don't call pci_save_state().
2) Manually put device to D3 after pci_save_state().
Let's try 1) first:
diff --git a/nv.c b/nv.c
index b6dc6f3..ed250c8 100644
--- a/nv.c
+++ b/nv.c
@@ -4200,8 +4200,6 @@ nv_power_management(
nv_kthread_q_stop(&nvl->bottom_half_q);
nv_disable_pat_support();
-
- pci_save_state(nvl->pci_dev);
break;
}
case NV_PM_ACTION_RESUME:
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1836630
Title:
System76 Oryx Pro (oryp5) with 5.0.0-21: Fail to resume from suspend
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1836630/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs