tests/qtest: Extend USB host controller transfer coverage
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests/qtest/usb-hcd-ehci: Test a control transfertests/ | +142 | 0 replies | |
| 2/7 | tests/qtest/usb-hcd-ehci: Cover isochronous IN to EP0tests/ | +68 | 0 replies | |
| 3/7 | tests/qtest/usb-hcd-ehci: Cover isochronous OUT to EP0tests/ | +9 | 0 replies | |
| 4/7 | tests/qtest/usb-hcd-uhci: Test interrupt NAK retriestests/ | +161 | 0 replies | |
| 5/7 | tests/qtest/usb-hcd-uhci: Test isochronous NAK completiontests/ | +28 | 0 replies | |
| 6/7 | tests/qtest/usb-hcd-uhci: Test a successful isochronous transfertests/ | +62 | 0 replies | |
| 7/7 | tests/qtest/usb-hcd-xhci: Test a successful isochronous transfertests/ | +89 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/7] tests/qtest: Extend USB host controller transfer coverage
From: Junjie Cao <[email protected]>
Peter's discussion of isochronous endpoint mismatches highlighted the lack of tests as a concern for moving the checks into the USB core [1]. This series adds transfer tests motivated by that discussion, without changing controller or USB core code.
The tests cover EHCI control transfers and isochronous IN/OUT requests to EP0, UHCI interrupt retries and isochronous completion on NAK, and successful UHCI/xHCI isochronous OUT transfers to USB audio. The audio tests configure the device and enable its streaming interface through EP0 before submitting a packet.
These cases exercise both rejection/retry behavior and successful isochronous transfers. EHCI isochronous success and USB_RET_ASYNC completion remain outside the coverage of this series.
Suggestions for other transfer paths to cover in follow-up patches are welcome.
Junjie Cao (7):
tests/qtest/usb-hcd-ehci: Test a control transfer tests/qtest/usb-hcd-ehci: Cover isochronous IN to EP0 tests/qtest/usb-hcd-ehci: Cover isochronous OUT to EP0 tests/qtest/usb-hcd-uhci: Test interrupt NAK retries tests/qtest/usb-hcd-uhci: Test isochronous NAK completion tests/qtest/usb-hcd-uhci: Test a successful isochronous transfer tests/qtest/usb-hcd-xhci: Test a successful isochronous transfer
tests/qtest/usb-hcd-ehci-test.c | 208 +++++++++++++++++++++++++++++ tests/qtest/usb-hcd-uhci-test.c | 229 ++++++++++++++++++++++++++++++++ tests/qtest/usb-hcd-xhci-test.c | 95 ++++++++++++- 3 files changed, 526 insertions(+), 6 deletions(-)
base-commit: ed698be7700160c74d24ef7830adccd2a28d840a
Signature · 1 line
2.43.0