[PATCH 00/15] usb: xhci: pull in fixes from U-Boot v2024.01

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Feb 19 05:38:20 PST 2024


The latest U-Boot release saw some fixes to the xHCI driver contributed
by the Asahi Linux project to improve robustness in case of errors.

Port these to barebox as well as a couple of cleanup commits that make
the code in barebox look more similar to changes that happened to U-Boot
in the meantime.

Ahmad Fatoum (15):
  usb: xhci: usb: xhci: avoid type conversion of void *
  usb: xhci: add various debugging prints
  usb: xhci: call xhci_flush_cache where appropriate
  usb: xhci: use macros for formatting values
  usb: xhci: Add missing endian conversions (cpu_to_leXX / leXX_to_cpu)
  usb: xhci: Add missing xhci_readl()
  usb: xhci: don't use xhci_writeq for normal SDRAM
  usb: xhci: support non-1:1 mapped xHCI
  usb: xhci: reset endpoint on USB stall
  usb: xhci: Fix root hub descriptor
  usb: xhci: Guard all calls to xhci_wait_for_event
  usb: xhci: Better error handling in abort_td()
  usb: xhci: Allow context state errors when halting an endpoint
  usb: xhci: Recover from halted bulk endpoints
  usb: xhci: Do not panic on event timeouts

 drivers/usb/host/xhci-mem.c  |  99 +++++++++---------
 drivers/usb/host/xhci-ring.c | 190 +++++++++++++++++++++++++++--------
 drivers/usb/host/xhci.c      |  62 ++++++++----
 drivers/usb/host/xhci.h      |  16 ++-
 4 files changed, 247 insertions(+), 120 deletions(-)

-- 
2.39.2




More information about the barebox mailing list