[Bug 1990876] Re: kworker high CPU usage: issue with xhci_hub_control from xhci_pci kernel module

2024-04-20 Thread Yuki ONISHI
In my case, 
# echo 'on' > '/sys/bus/usb/devices/usb3/power/control'
helps removing the high CPU usage of kworker and ksoftirqd.

My PC (Ubuntu 22.04, 6.5.0-1020-oem) has a broken USB port on usb3 and dmesg 
reports "usb usb3-port7: over-current condition".
Also, powertop is enabled on my PC and the status of "Autosuspend for USB 
device xHCI Host Controller [usb3]" was "Good".
So, I changed the status to "Bad", which is equivalent to the command above, 
solving the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1990876

Title:
  kworker high CPU usage: issue with xhci_hub_control from xhci_pci
  kernel module

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1990876/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1990876] Re: kworker high CPU usage: issue with xhci_hub_control from xhci_pci kernel module

2024-04-14 Thread arminp
I would like to know if anyone found a solution for lg gram systems.

Currently i am using HW and os see below. kernel is from mainline
archive

Operating System: Linux Mint 21.3 
  Kernel: Linux 5.19.17-051917-generic
Architecture: x86-64
 Hardware Vendor: LG Electronics
  Hardware Model: 17Z90Q-G.AA78G

This kernel works, when you start the system without AC plugged. suspend, plug 
AC, wakeup.
boot param for kernel is acpi_mask_gpe=0x6E
0x6e can be unmasked immediately after boot.

All newer kernels i tested have the problem with kworkers driving the load to 3 
and more, rendering the system unusable when on ac. 
Without AC plugged they all work fine, with far better performance and energy 
saving as the 5.19

The kernelfunction hogging cpu is always something like os_map_remove.
Cant check it right now exactly while writing.

Did anyone find a kernel version > 5.19 that works also on AC on these
Systems?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1990876

Title:
  kworker high CPU usage: issue with xhci_hub_control from xhci_pci
  kernel module

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1990876/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs