[SRU] [J/Unstable/OEM-5.15/OEM-5.17] [PATCH 0/2] Power cycle USB ports on shutdown/reboot

Kai-Heng Feng kai.heng.feng at canonical.com
Wed Jun 1 13:02:21 UTC 2022


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

[Impact]
USB storage can be stuck in USB reset loop after reboot. More reboots
don't help the situation, unless it's re-plugged.

[Fix]
Power cycle USB ports on system shutdown/reboot.

[Test]
The USB storage survived 300 times of reboots, and it works under each
reboot cycle.

[Where problems could occur]
One potential problem I can think of is S5 WoL over USB ethernet. Since
the port power and its associated ACPI power are turned off, WoL may
stop working, if WoL over USB is a thing.

Henry Lin (1):
  xhci: stop polling roothubs after shutdown

Mathias Nyman (1):
  UBUNTU: SAUCE: xhci: turn off port power in shutdown

 drivers/usb/host/xhci-hub.c |  2 +-
 drivers/usb/host/xhci.c     | 25 +++++++++++++++++++++++--
 drivers/usb/host/xhci.h     |  2 ++
 3 files changed, 26 insertions(+), 3 deletions(-)

-- 
2.36.1




More information about the kernel-team mailing list