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

Nicholas Piggin posted 8 patches 7 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250411075851.206995-1-npiggin@gmail.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>
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
[PATCH v3 0/8] usb/xhci: TR NOOP, TI HCD device, more qtests
Posted by Nicholas Piggin 7 months, 1 week ago
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

-- 
2.47.1