summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2022-11-30 12:19:42 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-11-30 14:10:48 +0300
commitc3bbacd61baace2f4fbab17012c3d149df2d50f1 (patch)
treeb1413d567bc489a78559d2444619aba1fe8c4a93 /scripts/gdb/linux/utils.py
parent705c333a7ad2003ad99d96c19a31619b19ad14b9 (diff)
downloadlinux-c3bbacd61baace2f4fbab17012c3d149df2d50f1.tar.xz
xhci: disable U3 suspended ports in S4 hibernate poweroff_late stage
Disable U3 suspended ports in hibernate S4 poweroff_late for systems with XHCI_RESET_TO_DEFAULT quirk, if wakeup is not enabled. This reduces the number of self-powered usb devices from surviving in U3 suspended state into next reboot. Bootloader/firmware on these systems can't handle usb ports in U3, and will timeout, causing extra delay during reboot/restore from S4. Add pci_poweroff_late() callback to struct usb_hcd to get this done at the correct stage in hibernate. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20221130091944.2171610-5-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions