[4.3] kworker busy in pm_runtime_work

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

 



Tuning USB suspend [1] in 4.3 on a Dell XPS 15 9553 (Skylake), I see a
kworker thread spinning in rpm_suspend [2].

What is the most useful debug to get here beyond the immediate [3]?

Thanks,
  Daniel

-- [1]

for i in /sys/bus/usb/devices/*/power/control; do
    echo auto >$i
done

-- [2]

    73.79%     0.09%  kworker/1:1      [kernel.kallsyms]
[k] rpm_suspend
                |
                ---rpm_suspend
                   |
                   |--99.48%-- __pm_runtime_suspend
                   |          usb_runtime_idle
                   |          __rpm_callback
                   |          rpm_idle
                   |          pm_runtime_work
                   |          process_one_work
                   |          worker_thread
                   |          kthread
                   |          ret_from_fork
                   |
                    --0.52%-- rpm_idle
                              __pm_runtime_idle
                              usb_autopm_put_interface
                              hub_event
                              process_one_work
                              worker_thread
                              kthread
                              ret_from_fork

-- [3]

$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0a5c:6410 Broadcom Corp.
Bus 001 Device 003: ID 1bcf:2b95 Sunplus Innovation Technology Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ dmesg | grep -i usb
[    0.000000] ACPI: SSDT 0x0000000037058168 00002B (v02 INTEL
UsbCTabl 00001000 INTL 20120913)
[    0.405213] ACPI: bus type USB registered
[    0.405228] usbcore: registered new interface driver usbfs
[    0.405236] usbcore: registered new interface driver hub
[    0.405254] usbcore: registered new device driver usb
[    0.960977] xhci_hcd 0000:00:14.0: new USB bus registered, assigned
bus number 1
[    0.961367] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.961395] usb usb1: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    0.961416] usb usb1: Product: xHCI Host Controller
[    0.961431] usb usb1: Manufacturer: Linux 4.3.0-040300-generic xhci-hcd
[    0.961458] usb usb1: SerialNumber: 0000:00:14.0
[    0.961776] hub 1-0:1.0: USB hub found
[    0.985253] xhci_hcd 0000:00:14.0: new USB bus registered, assigned
bus number 2
[    0.985318] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    0.985344] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[    0.985370] usb usb2: Product: xHCI Host Controller
[    0.985385] usb usb2: Manufacturer: Linux 4.3.0-040300-generic xhci-hcd
[    0.985404] usb usb2: SerialNumber: 0000:00:14.0
[    0.985588] hub 2-0:1.0: USB hub found
[    0.991260] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.991336] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.991401] uhci_hcd: USB Universal Host Controller Interface driver
[    1.294613] usb 1-4: new full-speed USB device number 2 using xhci_hcd
[    1.424790] usb 1-4: New USB device found, idVendor=0a5c, idProduct=6410
[    1.424791] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.424792] usb 1-4: Product: BCM2045A0
[    1.424793] usb 1-4: Manufacturer: Broadcom Corp
[    1.424794] usb 1-4: SerialNumber: 606DC7C60B70
[    1.590429] usb 1-12: new high-speed USB device number 3 using xhci_hcd
[    1.726778] usb 1-12: New USB device found, idVendor=1bcf, idProduct=2b95
[    1.726779] usb 1-12: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[    1.726779] usb 1-12: Product: Integrated_Webcam_HD
[    1.726780] usb 1-12: Manufacturer: CNFEH73I351030001BE2
[    9.740570] usbcore: registered new interface driver btusb
[    9.813788] input: Integrated_Webcam_HD as
/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input9
[    9.813835] usbcore: registered new interface driver uvcvideo
[    9.813836] USB Video Class driver (1.1.1)
[    9.821529] usbcore: registered new interface driver brcmfmac
[    9.976582] audit: type=1400 audit(1447675072.451:2):
apparmor="STATUS" operation="profile_load" name="/usr/sbin/ippusbxd"
pid=581 comm="apparmor_parser"
-- 
Daniel J Blueman
--
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