All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: xhci: improve HCD page size & IMODI
@ 2024-10-25 11:26 Niklas Neronin
  2024-10-25 11:27 ` [PATCH 1/2] usb: xhci: improve HCD page size validation and setting Niklas Neronin
  2024-10-25 11:27 ` [PATCH 2/2] usb: xhci: improve xhci_set_interrupter_moderation() Niklas Neronin
  0 siblings, 2 replies; 4+ messages in thread
From: Niklas Neronin @ 2024-10-25 11:26 UTC (permalink / raw)
  To: mathias.nyman; +Cc: linux-usb, Niklas Neronin

Improves HCD page size validation and move it into its own function.
This function is built so that the page size can be set to any valid value.

Improve the interrupt moderation interval (IMODI), by removing the error
case, and instead setting the IMODI to the closes valid value.

All patches were applied and tested on v6.12-rc4.

Niklas Neronin (2):
  usb: xhci: improve HCD page size validation and setting
  usb: xhci: improve xhci_set_interrupter_moderation()

 drivers/usb/host/xhci-mem.c | 45 ++++++++++++++++++++-----------------
 drivers/usb/host/xhci.c     | 25 +++++++++++----------
 drivers/usb/host/xhci.h     | 13 ++++++-----
 3 files changed, 46 insertions(+), 37 deletions(-)

-- 
2.45.2


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

end of thread, other threads:[~2024-10-28 13:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-25 11:26 [PATCH 0/2] usb: xhci: improve HCD page size & IMODI Niklas Neronin
2024-10-25 11:27 ` [PATCH 1/2] usb: xhci: improve HCD page size validation and setting Niklas Neronin
2024-10-28 13:13   ` Mathias Nyman
2024-10-25 11:27 ` [PATCH 2/2] usb: xhci: improve xhci_set_interrupter_moderation() Niklas Neronin

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.