RFC xhci: usb: optimize resuming from S4 (suspend-to-disk)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 RFC Latest9 patches 2 repliesIn review
- v1 RFC12 patches 8 repliesSuperseded
Changes in v2 from the cover letter
* Drop "simplify USBSTS register reset" patch.
* [RFC PATCH 3] New patch
* [RFC PATCH 7] Re-add function comment to xhci_init()
* [RFC PATCH 7] Moved xhci_mem_init() and xhci_init() start/finish debug messages into the functions themselves.
* [RFC PATCH 9] Cleanup 'cmd_timer', 'cmd_list', 'tts', 'endpoints' during S4 resume.
* [RFC PATCH 9] Fix commit title.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | usb: xhci: simplify CMRT initialization logicdrivers/ | +3 | 0 replies | |
| 2/9 | usb: xhci: relocate Restore/Controller error checkdrivers/ | +5 | 0 replies | |
| 3/9 | usb: xhci: factor out roothub bandwidth cleanupdrivers/ | +29 | 0 replies | |
| 4/9 | usb: xhci: move reserving command ring trbdrivers/ drivers/ | +6 | 0 replies | |
| 5/9 | usb: xhci: move ring initializationdrivers/ drivers/ drivers/ | +18 | 0 replies | |
| 6/9 | usb: xhci: move initialization for lifetime objectsdrivers/ drivers/ | +8 | 0 replies | |
| 7/9 | usb: xhci: split core allocation and initializationdrivers/ drivers/ | +13 | 0 replies | |
| 8/9 | usb: xhci: improve debug messages during suspenddrivers/ | +37 | 0 replies | |
| 9/9 | usb: xhci: optimize resuming from S4 (suspend-to-disk)drivers/ drivers/ drivers/ | +35 | 2 replies |
Reviews trailers per patch
2 of 9 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | |
| 4/9 | |
| 5/9 | |
| 6/9 | |
| 7/9 | |
| 8/9 | |
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH v2 0/9] xhci: usb: optimize resuming from S4 (suspend-to-disk)
Thank you Michal Pecio and Xu Rao for your reviews.
This series is now split into two parts. This first part avoids freeing and reallocating xHCI data structures during hibernation resume.
The second part, which lays the groundwork for secondary interrupters, will be submitted separately.
v1 -> v2:
* Drop "simplify USBSTS register reset" patch.
* [RFC PATCH 3] New patch
* [RFC PATCH 7] Re-add function comment to xhci_init()
* [RFC PATCH 7] Moved xhci_mem_init() and xhci_init() start/finish debug messages into the functions themselves.
* [RFC PATCH 9] Cleanup 'cmd_timer', 'cmd_list', 'tts', 'endpoints' during S4 resume.
* [RFC PATCH 9] Fix commit title.
Niklas Neronin (9):
usb: xhci: simplify CMRT initialization logic
usb: xhci: relocate Restore/Controller error check
usb: xhci: factor out roothub bandwidth cleanup
usb: xhci: move reserving command ring trb
usb: xhci: move ring initialization
usb: xhci: move initialization for lifetime objects
usb: xhci: split core allocation and initialization
usb: xhci: improve debug messages during suspend
usb: xhci: optimize resuming from S4 (suspend-to-disk)
drivers/usb/host/xhci-mem.c | 82 +++++++++------- drivers/usb/host/xhci.c | 183 +++++++++++++++++++----------------- drivers/usb/host/xhci.h | 3 + 3 files changed, 148 insertions(+), 120 deletions(-)
Signature · 1 line
2.50.1