mbox series

[v3,0/8] usb/xhci: TR NOOP, TI HCD device, more qtests

Message ID 20250411075851.206995-1-npiggin@gmail.com (mailing list archive)
Headers show
Series usb/xhci: TR NOOP, TI HCD device, more qtests | expand

Message

Nicholas Piggin April 11, 2025, 7:58 a.m. UTC
This series adds better support qtests support for the xhci controller,
adds support for the "TR NOOP" command used by AIX, and adds a new USB
controller model from TI that PowerVM and AIX use.

This series depends on some of the qtests changes from this one:

https://lore.kernel.org/qemu-devel/20250411044130.201724-1-npiggin@gmail.com/T/#t

Since v2:
https://lore.kernel.org/qemu-devel/20250118070853.653778-1-npiggin@gmail.com/

- Rebased to upstream. Hopefully this is ready to go for 10.1.

Thanks,
Nick

Nicholas Piggin (8):
  hw/usb/xhci: Move HCD constants to a header and add register constants
  hw/usb/xhci: Rename and move HCD register region constants to header
  tests/qtest/xhci: Add controller and device setup and ring tests
  hw/usb/xhci: Support TR NOOP commands
  tests/qtest/xhci: add a test for TR NOOP commands
  tests/qtest/xhci: test the qemu-xhci device
  hw/usb/hcd-xhci-pci: Make PCI device more configurable
  hw/usb/hcd-xhci-pci: Add TI TUSB73X0 XHCI controller model

 hw/usb/hcd-xhci-pci.h           |   9 +
 hw/usb/hcd-xhci.h               | 237 +++++++++++++
 include/hw/pci/pci_ids.h        |   1 +
 include/hw/usb/xhci.h           |   1 +
 hw/usb/hcd-xhci-pci.c           | 118 +++++--
 hw/usb/hcd-xhci-ti.c            |  88 +++++
 hw/usb/hcd-xhci.c               | 527 ++++++++++------------------
 tests/qtest/usb-hcd-xhci-test.c | 600 +++++++++++++++++++++++++++++++-
 hw/usb/Kconfig                  |   5 +
 hw/usb/meson.build              |   1 +
 10 files changed, 1214 insertions(+), 373 deletions(-)
 create mode 100644 hw/usb/hcd-xhci-ti.c