1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-20 13:24:11 +00:00
Mathias Nyman c3bbacd61b 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>
2022-11-30 12:10:48 +01:00
..
2022-11-07 14:00:27 +01:00
2022-10-10 09:27:46 -07:00
2022-10-07 16:48:26 -07:00
2022-10-07 16:13:55 -07:00
2022-10-26 17:38:46 -07:00
2022-10-13 09:58:42 -07:00
2022-10-10 13:28:06 -07:00
2022-10-14 13:03:00 -07:00
2022-10-17 18:52:43 -07:00
2022-10-10 10:21:22 -07:00
2022-10-10 19:45:17 -07:00
2022-10-17 13:49:45 +02:00
2022-10-10 13:28:06 -07:00
2022-10-07 10:48:49 -07:00
2022-10-11 11:08:18 -07:00
2022-10-17 16:32:05 +02:00
2022-10-11 17:42:58 -06:00
2022-10-11 17:42:58 -06:00
2022-10-09 14:05:15 -07:00
2022-10-10 09:10:28 -07:00
2022-10-07 09:32:40 -04:00
2022-11-10 12:03:36 -07:00