[Bug 216706] New: USBC resume callback takes far too long, between 650ms and 1200ms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

            Bug ID: 216706
           Summary: USBC resume callback takes far too long, between 650ms
                    and 1200ms
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.1.0-rc2
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: drivers_usb@xxxxxxxxxxxxxxxxxxxxxx
          Reporter: todd.e.brandt@xxxxxxxxx
            Blocks: 178231
        Regression: No

Created attachment 303218
  --> https://bugzilla.kernel.org/attachment.cgi?id=303218&action=edit
lenb-Dell-XPS-13-9310_freeze.html

The new USBC resume callback is taking far too long in the resume phase. I
bisected the behavior to this commit:

[10402] 4e3a50293c2b21961f02e1afa2f17d3a1a90c7c8 is the first bad commit
[10402] commit 4e3a50293c2b21961f02e1afa2f17d3a1a90c7c8
[10402] Author: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
[10402] Date:   Fri Oct 7 13:09:51 2022 +0300
[10402]
[10402] usb: typec: ucsi: acpi: Implement resume callback
[10402]
[10402] The ACPI driver needs to resume the interface by calling
[10402] ucsi_resume(). Otherwise we may fail to detect connections
[10402] and disconnections that happen while the system is
[10402] suspended.
[10402]
[10402] Link: https://bugzilla.kernel.org/show_bug.cgi?id=210425
[10402] Fixes: a94ecde41f7e ("usb: typec: ucsi: ccg: enable runtime pm
support")
[10402] Cc: <stable@xxxxxxxxxxxxxxx>
[10402] Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
[10402] Link:
https://lore.kernel.org/r/20221007100951.43798-3-heikki.krogerus@xxxxxxxxxxxxxxx
[10402] Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

I have timelines from 7 separate machines that are now affected but this
behavior. We have a guidline that neither suspend or resume should take longer
than a second, and this is causing us problems.


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.



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux