[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/8] usb/xhci: TR NOOP, TI HCD device, more qtests
From: |
Nicholas Piggin |
Subject: |
[PATCH v2 0/8] usb/xhci: TR NOOP, TI HCD device, more qtests |
Date: |
Sat, 18 Jan 2025 17:08:45 +1000 |
Since last posting, I accounted for feedback from Phil and
others.
- Improved the names of the XHCI register constants
when moving them to the header file.
- Leaving the symbolic cases for unimplemented registers
in the handlers.
- Fixed a bug introduced in a register field calculation
when moving code.
- Moved more constants and added more missing ones to the
header file.
- Added qtests for the qemu-xhci device.
The qtests for the TI device added in patch 8 still have a
small dependency on libqos pci code bug fix which I submitted
separately, so that may crash if you try to test it.
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 | 87 ++++-
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, 1196 insertions(+), 360 deletions(-)
create mode 100644 hw/usb/hcd-xhci-ti.c
--
2.45.2
- [PATCH v2 0/8] usb/xhci: TR NOOP, TI HCD device, more qtests,
Nicholas Piggin <=
- [PATCH v2 1/8] hw/usb/xhci: Move HCD constants to a header and add register constants, Nicholas Piggin, 2025/01/18
- [PATCH v2 2/8] hw/usb/xhci: Rename and move HCD register region constants to header, Nicholas Piggin, 2025/01/18
- [PATCH v2 3/8] tests/qtest/xhci: Add controller and device setup and ring tests, Nicholas Piggin, 2025/01/18
- [PATCH v2 4/8] hw/usb/xhci: Support TR NOOP commands, Nicholas Piggin, 2025/01/18
- [PATCH v2 5/8] tests/qtest/xhci: add a test for TR NOOP commands, Nicholas Piggin, 2025/01/18
- [PATCH v2 6/8] tests/qtest/xhci: test the qemu-xhci device, Nicholas Piggin, 2025/01/18
- [PATCH v2 7/8] hw/usb/hcd-xhci-pci: Make PCI device more configurable, Nicholas Piggin, 2025/01/18
- [PATCH v2 8/8] hw/usb/hcd-xhci-pci: Add TI TUSB73X0 XHCI controller model, Nicholas Piggin, 2025/01/18