linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 218546] New: xhci_hcd prevents hibernate/S4 suspend from working on several systems
@ 2024-03-01 22:19 bugzilla-daemon
  2024-03-01 22:20 ` [Bug 218546] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2024-03-01 22:19 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=218546

            Bug ID: 218546
           Summary: xhci_hcd prevents hibernate/S4 suspend from working on
                    several systems
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.8.0-rc5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: todd.e.brandt@intel.com
            Blocks: 178231
        Regression: No

Created attachment 305940
  --> https://bugzilla.kernel.org/attachment.cgi?id=305940&action=edit
lenb-Dell-XPS-13-9300_disk.html

When running disk suspend on certain platforms the xhci_hcd USB3,0 hub
controller device prevents hibernate by aborting suspend. The test is initiated
with this command:

$> sudo sleepgraph -m disk-platform -rtcwake 60 -dev
This essentially performs these two commands to issue the suspend:
$> echo platform > /sys/power/disk
$> echo disk > /sys/pwoer/state

The dmesg log shows the error where suspends is aborted:

xhci_hcd 0000:00:14.0: PM: pci_pm_freeze(): hcd_pci_suspend+0x0/0x20 returns
-16
xhci_hcd 0000:00:14.0: PM: dpm_run_callback(): pci_pm_freeze+0x0/0xd0 returns
-16
xhci_hcd 0000:00:14.0: PM: failed to freeze async: error -16
usb usb1: root hub lost power or was reset
usb usb2: root hub lost power or was reset
PM: hibernation: Basic memory bitmaps freed
PM: hibernation: hibernation exit

I'm attaching 3 sleepgraph timelines from three different production machines
where this happened, so it's not endemic to just one manufacturer. The dmesg
logs are in the timeline itself, just click the dmesg button in the upper left
corner. The log button in the upper left corner shows all kinds of system
details.


Referenced Bugs:

https://bugzilla.kernel.org/show_bug.cgi?id=178231
[Bug 178231] Meta-bug: Linux suspend-to-mem and freeze performance optimization
-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-17  0:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-01 22:19 [Bug 218546] New: xhci_hcd prevents hibernate/S4 suspend from working on several systems bugzilla-daemon
2024-03-01 22:20 ` [Bug 218546] " bugzilla-daemon
2024-03-01 22:20 ` bugzilla-daemon
2024-03-01 22:30 ` bugzilla-daemon
2024-03-11 16:53 ` bugzilla-daemon
2024-03-11 20:13 ` bugzilla-daemon
2024-03-15 21:02 ` bugzilla-daemon
2024-03-15 21:03 ` bugzilla-daemon
2024-03-17  0:20 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).