* [Bug 216171] New: Hibernation not working because of xhci_hcd
@ 2022-06-25 17:19 bugzilla-daemon
2022-06-27 11:18 ` [Bug 216171] " bugzilla-daemon
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-06-25 17:19 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=216171
Bug ID: 216171
Summary: Hibernation not working because of xhci_hcd
Product: Drivers
Version: 2.5
Kernel Version: 5.18.6-arch1-1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: USB
Assignee: drivers_usb@kernel-bugs.kernel.org
Reporter: prz.kopa@gmail.com
Regression: No
Created attachment 301268
--> https://bugzilla.kernel.org/attachment.cgi?id=301268&action=edit
Dmesg log with failed hibernation attempt
Starting from 5.18.4 my notebook (Dell Latitude 3340) won't hibernate -
hibernation fails with dmesg errors related to xhci_hcd. I'm attaching dmesg
log with failed hibernation attempt. Problem goes away after reverting commit
63acaa8e9c65dc34dc249440216f8e977f5d2748 (USB: hcd-pci: Fully suspend across
freeze/thaw cycle). After reverting this commit on linux 5.18.6 my system can
again successfully hibernate.
--
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] 5+ messages in thread
* [Bug 216171] Hibernation not working because of xhci_hcd
2022-06-25 17:19 [Bug 216171] New: Hibernation not working because of xhci_hcd bugzilla-daemon
@ 2022-06-27 11:18 ` bugzilla-daemon
2022-06-27 11:20 ` [Bug 216171] New: " Mathias Nyman
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-06-27 11:18 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=216171
--- Comment #1 from Mathias Nyman (mathias.nyman@linux.intel.com) ---
On 25.6.2022 20.19, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=216171
>
> Bug ID: 216171
> Summary: Hibernation not working because of xhci_hcd
> Product: Drivers
> Version: 2.5
> Kernel Version: 5.18.6-arch1-1
> Hardware: All
> OS: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: USB
> Assignee: drivers_usb@kernel-bugs.kernel.org
> Reporter: prz.kopa@gmail.com
> Regression: No
>
> Created attachment 301268
> --> https://bugzilla.kernel.org/attachment.cgi?id=301268&action=edit
> Dmesg log with failed hibernation attempt
>
> Starting from 5.18.4 my notebook (Dell Latitude 3340) won't hibernate -
> hibernation fails with dmesg errors related to xhci_hcd. I'm attaching dmesg
> log with failed hibernation attempt. Problem goes away after reverting commit
> 63acaa8e9c65dc34dc249440216f8e977f5d2748 (USB: hcd-pci: Fully suspend across
> freeze/thaw cycle). After reverting this commit on linux 5.18.6 my system can
> again successfully hibernate.
>
Looks like there is a pending wakeup:
[ 30.475168] xhci_hcd 0000:00:14.0: PM: pci_pm_freeze():
hcd_pci_suspend+0x0/0x30 returns -16
Guessing suspend_common() in hcd-pci.c retruns -EBUSY because
HCD_WAKEUP_PENDING(hcd) flag is set.
Does xhci dynamic debug show some port event before this?
mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control
echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
Thanks
-Mathias
--
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] 5+ messages in thread
* Re: [Bug 216171] New: Hibernation not working because of xhci_hcd
2022-06-25 17:19 [Bug 216171] New: Hibernation not working because of xhci_hcd bugzilla-daemon
2022-06-27 11:18 ` [Bug 216171] " bugzilla-daemon
@ 2022-06-27 11:20 ` Mathias Nyman
2022-06-27 12:56 ` [Bug 216171] " bugzilla-daemon
2022-06-27 12:57 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: Mathias Nyman @ 2022-06-27 11:20 UTC (permalink / raw)
To: bugzilla-daemon, linux-usb
On 25.6.2022 20.19, bugzilla-daemon@kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=216171
>
> Bug ID: 216171
> Summary: Hibernation not working because of xhci_hcd
> Product: Drivers
> Version: 2.5
> Kernel Version: 5.18.6-arch1-1
> Hardware: All
> OS: Linux
> Tree: Mainline
> Status: NEW
> Severity: normal
> Priority: P1
> Component: USB
> Assignee: drivers_usb@kernel-bugs.kernel.org
> Reporter: prz.kopa@gmail.com
> Regression: No
>
> Created attachment 301268
> --> https://bugzilla.kernel.org/attachment.cgi?id=301268&action=edit
> Dmesg log with failed hibernation attempt
>
> Starting from 5.18.4 my notebook (Dell Latitude 3340) won't hibernate -
> hibernation fails with dmesg errors related to xhci_hcd. I'm attaching dmesg
> log with failed hibernation attempt. Problem goes away after reverting commit
> 63acaa8e9c65dc34dc249440216f8e977f5d2748 (USB: hcd-pci: Fully suspend across
> freeze/thaw cycle). After reverting this commit on linux 5.18.6 my system can
> again successfully hibernate.
>
Looks like there is a pending wakeup:
[ 30.475168] xhci_hcd 0000:00:14.0: PM: pci_pm_freeze(): hcd_pci_suspend+0x0/0x30 returns -16
Guessing suspend_common() in hcd-pci.c retruns -EBUSY because HCD_WAKEUP_PENDING(hcd) flag is set.
Does xhci dynamic debug show some port event before this?
mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control
echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
Thanks
-Mathias
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 216171] Hibernation not working because of xhci_hcd
2022-06-25 17:19 [Bug 216171] New: Hibernation not working because of xhci_hcd bugzilla-daemon
2022-06-27 11:18 ` [Bug 216171] " bugzilla-daemon
2022-06-27 11:20 ` [Bug 216171] New: " Mathias Nyman
@ 2022-06-27 12:56 ` bugzilla-daemon
2022-06-27 12:57 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-06-27 12:56 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=216171
--- Comment #2 from Przemyslaw Kopa (prz.kopa@gmail.com) ---
Created attachment 301288
--> https://bugzilla.kernel.org/attachment.cgi?id=301288&action=edit
Dmesg with dynamic debug enabled
--
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] 5+ messages in thread
* [Bug 216171] Hibernation not working because of xhci_hcd
2022-06-25 17:19 [Bug 216171] New: Hibernation not working because of xhci_hcd bugzilla-daemon
` (2 preceding siblings ...)
2022-06-27 12:56 ` [Bug 216171] " bugzilla-daemon
@ 2022-06-27 12:57 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-06-27 12:57 UTC (permalink / raw)
To: linux-usb
https://bugzilla.kernel.org/show_bug.cgi?id=216171
--- Comment #3 from Przemyslaw Kopa (prz.kopa@gmail.com) ---
(In reply to Mathias Nyman from comment #1)
> Guessing suspend_common() in hcd-pci.c retruns -EBUSY because
> HCD_WAKEUP_PENDING(hcd) flag is set.
>
> Does xhci dynamic debug show some port event before this?
There are a few "Port change events", I attached dmesg log with dynamic debug
enabled.
--
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] 5+ messages in thread
end of thread, other threads:[~2022-06-27 12:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25 17:19 [Bug 216171] New: Hibernation not working because of xhci_hcd bugzilla-daemon
2022-06-27 11:18 ` [Bug 216171] " bugzilla-daemon
2022-06-27 11:20 ` [Bug 216171] New: " Mathias Nyman
2022-06-27 12:56 ` [Bug 216171] " bugzilla-daemon
2022-06-27 12:57 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.