[SRU] [Unstable/OEM-5.14] [PATCH 0/1] Fix runtime power management on USB controller with XHCI_RESET_ON_RESUME flag

Kai-Heng Feng kai.heng.feng at canonical.com
Fri Dec 10 05:38:00 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1954369

[Impact]
xHCI driver's runtime resume routine tries to reset USB controller with
XHCI_RESET_ON_RESUME flag. That causes USB devices connect to the xHCI
fail to work.

[Fix]
Disable runtime power management regardless of
CONFIG_USB_DEFAULT_PERSIST option.

[Test]
USB devices which connect to the xHCI controller can work normally.

[Where problems could occur]
USB_DEFAULT_PERSIST is a config for system-wide PM to speed up resume
time, so it shouldn't be applied to runtime PM at first place.

Kai-Heng Feng (1):
  xhci: Remove CONFIG_USB_DEFAULT_PERSIST to prevent xHCI from runtime
    suspending

 drivers/usb/host/xhci.c | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.32.0




More information about the kernel-team mailing list