All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Multi-segment Event Ring support for XHCI
@ 2023-08-15 12:40 Lukas Wunner
  2023-08-15 12:40 ` [PATCH 1/2] xhci: Set DESI bits in ERDP register correctly Lukas Wunner
  2023-08-15 12:40 ` [PATCH 2/2] xhci: Use more than one Event Ring segment Lukas Wunner
  0 siblings, 2 replies; 5+ messages in thread
From: Lukas Wunner @ 2023-08-15 12:40 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

Enlarge the XHCI Event Ring to cope with high load situations
by allowing more than one segment (patch [2/2]).  The patch is
lifted from the Raspberry Pi kernel, it has been in use there
for 4 years.  I've taken the liberty to slightly edit the commit
message and the patch itself for upstream.

As a prerequisite for the patch, ensure that the DESI bits in the
ERDP register are set correctly (patch [1/2]).  Incorrect DESI bits
cause an interrupt storm on Renesas uPD720201 host controllers.

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

Lukas Wunner (1):
  xhci: Set DESI bits in ERDP register correctly

 drivers/usb/host/xhci-mem.c  | 35 ++++++++++++++++++-----------------
 drivers/usb/host/xhci-ring.c |  2 +-
 drivers/usb/host/xhci.h      |  6 ++++--
 3 files changed, 23 insertions(+), 20 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2023-08-17 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 12:40 [PATCH 0/2] Multi-segment Event Ring support for XHCI Lukas Wunner
2023-08-15 12:40 ` [PATCH 1/2] xhci: Set DESI bits in ERDP register correctly Lukas Wunner
2023-08-17 13:26   ` Mathias Nyman
2023-08-15 12:40 ` [PATCH 2/2] xhci: Use more than one Event Ring segment Lukas Wunner
2023-08-17 13:46   ` 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.