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