APPLIED[Unstable]: [J/Unstable/OEM-5.15/OEM-5.17] [PATCH 1/1] UBUNTU: SAUCE: xhci: turn off port power in shutdown

Andrea Righi andrea.righi at canonical.com
Thu Jun 23 13:07:10 UTC 2022


On Wed, Jun 01, 2022 at 09:02:23PM +0800, Kai-Heng Feng wrote:
> From: Mathias Nyman <mathias.nyman at linux.intel.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1976503
> 
> If ports are not turned off in shutdown then runtime suspended
> self-powered USB devices may survive in U3 link state over S5.
> 
> During subsequent boot, if firmware sends an IPC command to program
> the port in DISCONNECT state, it will time out, causing significant
> delay in the boot time.
> 
> Turning off roothub port power is also recommended in xhci
> specification 4.19.4 "Port Power" in the additional note.
> 
> Signed-off-by: Mathias Nyman <mathias.nyman at linux.intel.com>
> (cherry picked from commit 1f6e23bcb9b2a2981d1124e4adb1f463cbc769ba git://git.kernel.org/pub/scm/linux/kernel/git/mnyman/xhci.git for-usb-linus)
> Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>

Applied to linux-unstable.

Thanks!
-Andrea



More information about the kernel-team mailing list