Skip to contentSkip to conversation

New: pci_pm_suspend(): hcd_pci_suspend+0x0/0x40 returns -16

Bug 216601 [email protected] 1 participant 5 messages Oct 18, 2022 USB

lore
Share & tools
lore
#0 lore raw

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

            Bug ID: 216601
           Summary: pci_pm_suspend(): hcd_pci_suspend+0x0/0x40 returns -16
           Product: Drivers
           Version: 2.5
    Kernel Version: latest drmtip/pci_pm/usb next
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

[Steps to reproduce]
1. must cold-boot into OS
2. checkbox-cli run com.canonical.certification::power-management/suspend-30-cycles-log-check-with-reboots
3. get the xhci error
~~~

Sep 27 19:48:10 ubuntu kernel: xhci_hcd 0000:00:14.0: PM: pci_pm_suspend():
hcd_pci_suspend+0x0/0x40 returns -16
Sep 27 19:48:10 ubuntu kernel: xhci_hcd 0000:00:14.0: PM: dpm_run_callback():
pci_pm_suspend+0x0/0x190 returns -16
Sep 27 19:48:10 ubuntu kernel: xhci_hcd 0000:00:14.0: PM: failed to suspend
async: error -16
Sep 27 19:48:10 ubuntu kernel: iwlmei
0000:00:16.0-13280904-7792-4fcb-a1aa-5e70cbb1e865: Can't send a SAP message if
we're not connected
Sep 27 19:48:10 ubuntu kernel: amdgpu 0000:03:00.0: amdgpu: free PSP TMR buffer
Sep 27 19:48:10 ubuntu kernel: PM: suspend of devices aborted after 465.967
msecs
Sep 27 19:48:10 ubuntu kernel: PM: start suspend of devices aborted after
466.632 msecs
Sep 27 19:48:10 ubuntu kernel: PM: Some devices failed to suspend, or early

wake event detected
~~~

After disable xhci wakeup events, can't get this error since. Here's script to disable xhci's event.
Ref. https://gist.github.com/kobataiwan/d22482e299c01825a9fe51910d6214ee

There's existed open bug that have the same xhci issue, Ref. https://bugzilla.kernel.org/show_bug.cgi?id=116761

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216601] pci_pm_suspend(): hcd_pci_suspend+0x0/0x40 returns -16

In reply to [email protected]

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

--- Comment #2 from KobaKo ([email protected]) --- Created attachment 303025
--> https://bugzilla.kernel.org/attachment.cgi?id=303025&action=edit
lspci_nvvv_202210061524

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216601] pci_pm_suspend(): hcd_pci_suspend+0x0/0x40 returns -16

In reply to [email protected]

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

--- Comment #3 from KobaKo ([email protected]) --- Created attachment 303026
--> https://bugzilla.kernel.org/attachment.cgi?id=303026&action=edit
dmesg_drmtip_202209272118

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 216601] pci_pm_suspend(): hcd_pci_suspend+0x0/0x40 returns -16

In reply to [email protected]

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

--- Comment #4 from KobaKo ([email protected]) --- (In reply to KobaKo from comment #0)

Quoted 26 lines

[Steps to reproduce]
1. must cold-boot into OS
2. checkbox-cli run com.canonical.certification::power-management/suspend-30-cycles-log-check- with-reboots
3. get the xhci error
~~~

Sep 27 19:48:10 ubuntu kernel: xhci_hcd 0000:00:14.0: PM: pci_pm_suspend():
hcd_pci_suspend+0x0/0x40 returns -16
Sep 27 19:48:10 ubuntu kernel: xhci_hcd 0000:00:14.0: PM:
dpm_run_callback(): pci_pm_suspend+0x0/0x190 returns -16
Sep 27 19:48:10 ubuntu kernel: xhci_hcd 0000:00:14.0: PM: failed to suspend
async: error -16
Sep 27 19:48:10 ubuntu kernel: iwlmei
0000:00:16.0-13280904-7792-4fcb-a1aa-5e70cbb1e865: Can't send a SAP message
if we're not connected
Sep 27 19:48:10 ubuntu kernel: amdgpu 0000:03:00.0: amdgpu: free PSP TMR
buffer
Sep 27 19:48:10 ubuntu kernel: PM: suspend of devices aborted after 465.967
msecs
Sep 27 19:48:10 ubuntu kernel: PM: start suspend of devices aborted after
466.632 msecs
Sep 27 19:48:10 ubuntu kernel: PM: Some devices failed to suspend, or early

wake event detected
~~~

Quoted 6 lines

After disable xhci wakeup events, can't get this error since. Here's script to disable xhci's event.
Ref. https://gist.github.com/kobataiwan/d22482e299c01825a9fe51910d6214ee

There's existed open bug that have the same xhci issue, Ref. https://bugzilla.kernel.org/show_bug.cgi?id=116761

The platform is equipped with,
1. CPU: RPL-S
2. GPU: Advanced Micro Devices, Inc. [AMD/ATI] [1002:743F]
3. intel xhci

Signature · 4 lines
You may reply to this email to add a comment.

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