RE: Root hub autosusend delay

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

 



Add rpm trace log for log 1, the coming behavior is expected, 
the usb subsystem will enters low power mode again.

root@freescale ~$ cat /sys/kernel/debug/tracing/trace
# tracer: nop
#
# entries-in-buffer/entries-written: 156/156   #P:4
#
#                              _-----=> irqs-off
#                             / _----=> need-resched
#                            | / _---=> hardirq/softirq
#                            || / _--=> preempt-depth
#                            ||| /     delay
#           TASK-PID   CPU#  ||||    TIMESTAMP  FUNCTION
#              | |       |   ||||       |         |
          <idle>-0     [000] d.h.    48.691373: rpm_resume: ci_hdrc.0 flags-5 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
          <idle>-0     [000] dNh.    48.691389: rpm_return_int: rpm_resume+0x94/0x750:ci_hdrc.0 ret=0
     kworker/0:1-53    [000] d...    48.691415: rpm_resume: ci_hdrc.0 flags-2 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.691418: rpm_resume: 2184000.usb flags-0 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.703000: rpm_idle: ci_hdrc.0 flags-5 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.703004: rpm_return_int: rpm_idle+0x4c/0x228:ci_hdrc.0 ret=-11
     kworker/0:1-53    [000] d...    48.708896: rpm_idle: 2184000.usb flags-1 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708899: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=-11
     kworker/0:1-53    [000] d...    48.708902: rpm_idle: 2100000.aips-bus flags-5 cnt-0  dep-1  auto-1 p-0 irq-0 child-1
     kworker/0:1-53    [000] d...    48.708903: rpm_return_int: rpm_idle+0x4c/0x228:2100000.aips-bus ret=-13
     kworker/0:1-53    [000] d...    48.708905: rpm_return_int: rpm_resume+0x94/0x750:2184000.usb ret=0
     kworker/0:1-53    [000] d...    48.708908: rpm_idle: ci_hdrc.0 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708911: rpm_suspend: ci_hdrc.0 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708913: rpm_idle: 2184000.usb flags-1 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708915: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=-11
     kworker/0:1-53    [000] d...    48.708917: rpm_return_int: rpm_suspend+0x370/0x6a0:ci_hdrc.0 ret=0
     kworker/0:1-53    [000] d...    48.708918: rpm_return_int: rpm_idle+0x4c/0x228:ci_hdrc.0 ret=0
     kworker/0:1-53    [000] d...    48.708920: rpm_idle: 2184000.usb flags-5 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708923: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=0
     kworker/0:1-53    [000] d...    48.708925: rpm_return_int: rpm_resume+0x94/0x750:ci_hdrc.0 ret=0
     kworker/0:1-53    [000] d...    48.708944: rpm_resume: usb1 flags-4 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708947: rpm_resume: ci_hdrc.0 flags-0 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708949: rpm_idle: ci_hdrc.0 flags-1 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.708951: rpm_return_int: rpm_idle+0x4c/0x228:ci_hdrc.0 ret=-11
     kworker/0:1-53    [000] d...    48.708952: rpm_return_int: rpm_resume+0x94/0x750:ci_hdrc.0 ret=1
     kworker/0:1-53    [000] dN..    48.710126: rpm_idle: usb1 flags-1 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] dN..    48.710130: rpm_return_int: rpm_idle+0x4c/0x228:usb1 ret=-11
     kworker/0:1-53    [000] dN..    48.710132: rpm_idle: ci_hdrc.0 flags-5 cnt-0  dep-0  auto-1 p-0 irq-0 child-1
     kworker/0:1-53    [000] dN..    48.710133: rpm_return_int: rpm_idle+0x4c/0x228:ci_hdrc.0 ret=-16
     kworker/0:1-53    [000] dN..    48.710135: rpm_return_int: rpm_resume+0x94/0x750:usb1 ret=0
     kworker/0:1-53    [000] d...    48.710168: rpm_suspend: usb1 flags-c cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.710172: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
     kworker/0:1-53    [000] dN..    48.710181: rpm_idle: 2184000.usb flags-2 cnt-0  dep-0  auto-1 p-0 irq-0 child-1
     kworker/0:1-53    [000] dN..    48.710183: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=-16
           khubd-27    [000] d...    48.710192: rpm_resume: 1-0:1.0 flags-4 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    48.710195: rpm_idle: 1-0:1.0 flags-1 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    48.710197: rpm_return_int: rpm_idle+0x4c/0x228:1-0:1.0 ret=-11
           khubd-27    [000] d...    48.710199: rpm_return_int: rpm_resume+0x94/0x750:1-0:1.0 ret=1
           khubd-27    [000] d...    48.710204: rpm_idle: 1-0:1.0 flags-4 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    48.710205: rpm_suspend: 1-0:1.0 flags-4 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    48.710208: rpm_idle: usb1 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    48.710216: rpm_return_int: rpm_idle+0x4c/0x228:usb1 ret=0
           khubd-27    [000] d...    48.710218: rpm_return_int: rpm_suspend+0x370/0x6a0:1-0:1.0 ret=0
           khubd-27    [000] d...    48.710220: rpm_return_int: rpm_idle+0x4c/0x228:1-0:1.0 ret=0
     kworker/0:1-53    [000] d...    48.710227: rpm_idle: usb1 flags-2 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    48.710231: rpm_suspend: usb1 flags-8 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworketurn_int: rpm_idle+0x4c/0x228:usb1 ret=0
          <idle>-0     [000] d.s.    51.064227: rpm_suspend: usb1 flags-9 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
          <idle>-0     [000] dNs.    51.064238: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
     kworker/0:1-53    [000] d...    51.064266: rpm_suspend: usb1 flags-a cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] dN..    51.065471: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
           khubd-27    [000] d...    51.065501: rpm_resume: 1-0:1.0 flags-4 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.065505: rpm_idle: 1-0:1.0 flags-1 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.065507: rpm_return_int: rpm_idle+0x4c/0x228:1-0:1.0 ret=-11
           khubd-27    [000] d...    51.065508: rpm_return_int: rpm_resume+0x94/0x750:1-0:1.0 ret=1
           khubd-27    [000] d...    51.084266: rpm_resume: 1-1 flags-4 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.084271: rpm_resume: usb1 flags-0 cnt-1  dep-0  auto-1 p-0 irq-0 child-1
           khubd-27    [000] d...    51.084273: rpm_return_int: rpm_resume+0x94/0x750:usb1 ret=1
           khubd-27    [000] d...    51.189917: rpm_idle: 1-1 flags-1 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.189921: rpm_return_int: rpm_idle+0x4c/0x228:1-1 ret=-11
           khubd-27    [000] d...    51.189923: rpm_idle: usb1 flags-5 cnt-0  dep-0  auto-1 p-0 irq-0 child-2
           khubd-27    [000] d...    51.189925: rpm_return_int: rpm_idle+0x4c/0x228:usb1 ret=-16
           khubd-27    [000] d...    51.189927: rpm_return_int: rpm_resume+0x94/0x750:1-1 ret=0
           khubd-27    [000] d...    51.189929: rpm_suspend: 1-1 flags-c cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.189933: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1 ret=0
           khubd-27    [000] d...    51.189964: rpm_idle: 1-0:1.0 flags-4 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.189966: rpm_suspend: 1-0:1.0 flags-4 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.189969: rpm_idle: usb1 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-1
           khubd-27    [000] d...    51.189971: rpm_return_int: rpm_idle+0x4c/0x228:usb1 ret=-16
           khubd-27    [000] d...    51.189972: rpm_return_int: rpm_suspend+0x370/0x6a0:1-0:1.0 ret=0
           khubd-27    [000] d...    51.189974: rpm_return_int: rpm_idle+0x4c/0x228:1-0:1.0 ret=0
           khubd-27    [000] d...    51.189991: rpm_resume: 1-1:1.0 flags-4 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.189994: rpm_idle: 1-1:1.0 flags-1 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.189995: rpm_return_int: rpm_idle+0x4c/0x228:1-1:1.0 ret=-11
           khubd-27    [000] d...    51.189997: rpm_return_int: rpm_resume+0x94/0x750:1-1:1.0 ret=1
           khubd-27    [000] d...    51.214266: rpm_resume: 1-1.1 flags-4 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.214270: rpm_resume: 1-1 flags-0 cnt-1  dep-0  auto-1 p-0 irq-0 child-1
           khubd-27    [000] d...    51.214272: rpm_return_int: rpm_resume+0x94/0x750:1-1 ret=1
           khubd-27    [000] d...    51.223913: rpm_idle: 1-1.1 flags-1 cnt-1  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.223916: rpm_return_int: rpm_idle+0x4c/0x228:1-1.1 ret=-11
           khubd-27    [000] d...    51.223919: rpm_idle: 1-1 flags-5 cnt-0  dep-0  auto-1 p-0 irq-0 child-2
           khubd-27    [000] d...    51.223920: rpm_return_int: rpm_idle+0x4c/0x228:1-1 ret=-16
           khubd-27    [000] d...    51.223922: rpm_return_int: rpm_resume+0x94/0x750:1-1.1 ret=0
           khubd-27    [000] d...    51.223925: rpm_suspend: 1-1.1 flags-c cnt-0  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.223929: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1.1 ret=0
           khubd-27    [000] d...    51.223967: rpm_resume: 1-1:1.0 flags-4 cnt-2  dep-0  auto-1 p-0 irq-0 child-0
           khubd-27    [000] d...    51.223971: rpm_return_int: rpm_resume+0x94/0x75rn_int: rpm_suspend+0x370/0x6a0:1-1.1 ret=0
     kworker/0:1-53    [000] d...    53.234263: rpm_suspend: 1-1.1 flags-a cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    53.264245: rpm_idle: 1-1 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    53.264251: rpm_return_int: rpm_idle+0x4c/0x228:1-1 ret=0
     kworker/0:1-53    [000] d...    53.264253: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1.1 ret=0
     kworker/0:1-53    [000] d...    53.264256: rpm_idle: 1-1 flags-2 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    53.264259: rpm_suspend: 1-1 flags-8 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    53.264263: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1 ret=0
     kworker/0:1-53    [000] d...    53.264265: rpm_return_int: rpm_idle+0x4c/0x228:1-1 ret=0
          <idle>-0     [000] d.s.    55.064227: rpm_suspend: 1-1 flags-9 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
          <idle>-0     [000] d.s.    55.064232: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1 ret=0
          <idle>-0     [000] d.s.    55.264222: rpm_suspend: 1-1 flags-9 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
          <idle>-0     [000] dNs.    55.264232: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1 ret=0
     kworker/0:1-53    [000] d...    55.264256: rpm_suspend: 1-1 flags-a cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    55.284247: rpm_idle: usb1 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    55.284252: rpm_return_int: rpm_idle+0x4c/0x228:usb1 ret=0
     kworker/0:1-53    [000] d...    55.284254: rpm_return_int: rpm_suspend+0x370/0x6a0:1-1 ret=0
     kworker/0:1-53    [000] d...    55.284257: rpm_idle: usb1 flags-2 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    55.284261: rpm_suspend: usb1 flags-8 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    55.284264: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
     kworker/0:1-53    [000] d...    55.284267: rpm_return_int: rpm_idle+0x4c/0x228:usb1 ret=0
          <idle>-0     [000] d.s.    57.064233: rpm_suspend: usb1 flags-9 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
          <idle>-0     [000] d.s.    57.064239: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
          <idle>-0     [000] d.s.    57.284222: rpm_suspend: usb1 flags-9 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
          <idle>-0     [000] dNs.    57.284233: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
     kworker/0:1-53    [000] d...    57.284253: rpm_suspend: usb1 flags-a cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.284652: rpm_idle: ci_hdrc.0 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.284655: rpm_suspend: ci_hdrc.0 flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.284658: rpm_idle: 2184000.usb flags-1 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.284661: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=0
     kworker/0:1-53    [000] d...    57.284664: rpm_return_int: rpm_suspend+0x370/0x6a0:ci_hdrc.0 ret=0
     kworker/0:1-53    [000] d...    57.284665: rpm_return_int: rpm_idle+0x4c/0x228:ci_hdrc.0 ret=0
     kworker/0:1-53    [000] d...    57.284667: rpm_return_int: rpm_suspend+0x370/0x6a0:usb1 ret=0
     kworker/0:1-53    [000] d...    57.284670: rpm_idle: 2184000.usb flags-2 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.284684: rpm_idle: 2184000.usb flags-0 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.284686: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=-115
     kworker/0:1-53    [000] d...    57.284689: rpm_suspend: 2184000.usb flags-0 cnt-0  dep-0  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.295547: rpm_idle: 2100000.aips-bus flags-1 cnt-0  dep-1  auto-1 p-0 irq-0 child-0
     kworker/0:1-53    [000] d...    57.295550: rpm_return_int: rpm_idle+0x4c/0x228:2100000.aips-bus ret=-13
     kworker/0:1-53    [000] d...    57.295552: rpm_return_int: rpm_suspend+0x370/0x6a0:2184000.usb ret=0
     kworker/0:1-53    [000] d...    57.295554: rpm_return_int: rpm_idle+0x4c/0x228:2184000.usb ret=0


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

  Powered by Linux