All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/10] Multi-segment Event Ring support for XHCI
@ 2023-08-24 16:15 Lukas Wunner
  2023-08-24 16:15 ` [PATCH v2 01/10] xhci: Clear EHB bit only at end of interrupt handler Lukas Wunner
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Lukas Wunner @ 2023-08-24 16:15 UTC (permalink / raw)
  To: Mathias Nyman, Greg Kroah-Hartman
  Cc: linux-usb, Jonathan Bell, Phil Elwell, Nicolas Saenz Julienne,
	Stefan Wahren, Philipp Rosenberger, Lino Sanfilippo, Peter Chen

Enlarge the XHCI Event Ring to cope with high load situations
by allowing more than one segment.

This second iteration seeks to address all of Mathias' review feedback on v1:

* Patch [01/10]:
  Use ERST_DESI_MASK instead of ERST_PTR_MASK when constructing the new
  ERDP value to avoid carrying over a set EHB bit.

* Patch [04/10]:
  Only use up to 2 Event Ring segments by default (instead of 8).

* Patch [05/10]:
  New patch to adjust segment numbers after ring expansion.

* Patch [08/10]:
  New patch to clean up ERST_PTR_MASK inversion.

Several other issues caught my eye and I'm including fixes and cleanups
for those as well.

Link to v1:
https://lore.kernel.org/all/cover.1692085657.git.lukas@wunner.de/


Jonathan Bell (1):
  xhci: Use more than one Event Ring segment

Lukas Wunner (9):
  xhci: Clear EHB bit only at end of interrupt handler
  xhci: Preserve RsvdP bits in ERSTBA register correctly
  xhci: Set DESI bits in ERDP register correctly
  xhci: Adjust segment numbers after ring expansion
  xhci: Update last segment pointer after Event Ring expansion
  xhci: Expose segment numbers in debugfs
  xhci: Clean up ERST_PTR_MASK inversion
  xhci: Clean up stale comment on ERST_SIZE macro
  xhci: Clean up xhci_{alloc,free}_erst() declarations

 drivers/usb/host/xhci-debugfs.c |  2 +-
 drivers/usb/host/xhci-mem.c     | 68 ++++++++++++++++++---------------
 drivers/usb/host/xhci-ring.c    | 17 +++++----
 drivers/usb/host/xhci.c         |  2 +-
 drivers/usb/host/xhci.h         | 18 +++------
 5 files changed, 53 insertions(+), 54 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-09-01 12:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-24 16:15 [PATCH v2 00/10] Multi-segment Event Ring support for XHCI Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 01/10] xhci: Clear EHB bit only at end of interrupt handler Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 02/10] xhci: Preserve RsvdP bits in ERSTBA register correctly Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 03/10] xhci: Set DESI bits in ERDP " Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 04/10] xhci: Use more than one Event Ring segment Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 05/10] xhci: Adjust segment numbers after ring expansion Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 06/10] xhci: Update last segment pointer after Event Ring expansion Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 07/10] xhci: Expose segment numbers in debugfs Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 08/10] xhci: Clean up ERST_PTR_MASK inversion Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 09/10] xhci: Clean up stale comment on ERST_SIZE macro Lukas Wunner
2023-08-24 16:15 ` [PATCH v2 10/10] xhci: Clean up xhci_{alloc,free}_erst() declarations Lukas Wunner
2023-09-01 12:40 ` [PATCH v2 00/10] Multi-segment Event Ring support for XHCI Mathias Nyman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.