usb descriptor overhaul.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest24 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | usb: data structs and helpers for usb descriptors.Makefile.objs hw/ hw/ +2 more | +339 | 0 replies | |
| 2/24 | usb hid: use new descriptor infrastructure.hw/ | +205 | 0 replies | |
| 3/24 | usb serial: use new descriptor infrastructure.hw/ | +83 | 0 replies | |
| 4/24 | usb storage: use new descriptor infrastructure.hw/ | +63 | 0 replies | |
| 5/24 | usb wacom: use new descriptor infrastructure.hw/ | +73 | 0 replies | |
| 6/24 | usb bluetooth: use new descriptor infrastructure.hw/ | +202 | 0 replies | |
| 7/24 | usb hub: use new descriptor infrastructure.hw/ | +78 | 0 replies | |
| 8/24 | usb descriptors: add settable strings.hw/ hw/ hw/ +1 more | +57 | 0 replies | |
| 9/24 | usb storage: serial number supporthw/ | +6 | 0 replies | |
| 10/24 | usb network: use new descriptor infrastructure.hw/ | +209 | 0 replies | |
| 11/24 | usb: move USB_REQ_SET_ADDRESS handling to common codehw/ hw/ hw/ +6 more | +7 | 0 replies | |
| 12/24 | usb: move USB_REQ_{GET, SET}_CONFIGURATION handling to common codehw/ hw/ hw/ +8 more | +66 | 0 replies | |
| 13/24 | usb: move remote wakeup handling to common codehw/ hw/ hw/ +6 more | +31 | 0 replies | |
| 14/24 | usb: create USBPortOps, move attach there.hw/ hw/ hw/ +4 more | +28 | 0 replies | |
| 15/24 | usb: rework attach/detach workflowhw/ hw/ hw/ +3 more | +122 | 0 replies | |
| 16/24 | usb: add usb_wakeup() + wakeup callback to port opshw/ hw/ | +9 | 0 replies | |
| 17/24 | usb: uhci: remote wakeup support.hw/ | +21 | 0 replies | |
| 18/24 | usb: hid: remote wakeup support.hw/ | +2 | 0 replies | |
| 19/24 | usb: add speed mask to portshw/ hw/ hw/ +3 more | +18 | 0 replies | |
| 20/24 | usb: add attach callbackhw/ hw/ | +11 | 0 replies | |
| 21/24 | usb: add usb_desc_attachhw/ hw/ | +34 | 0 replies | |
| 22/24 | usb: add device qualifier supporthw/ hw/ hw/ +1 more | +52 | 0 replies | |
| 23/24 | usb storage: high speed supporthw/ | +46 | 0 replies | |
| 24/24 | usb storage: fix status reportinghw/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 00/24] usb descriptor overhaul.
Hi,
This patch series is the start for an overhaul of the usb descriptor handling for emulated usb devices. Instead of storing the device desriptors in blobs (aka char arrays) they are stored in structs, which makes it alot easier to work with them. This in turn allows to move common device management to common code and also makes it alot easier to add high speed support to the emulated devices.
The patch series also features some usb subsystem cleanups and fixes, remote wakeup support for hid devices and some preparing bits for high-speed support.
The patches are also available in the git repository at:
git://anongit.freedesktop.org/spice/qemu usb.2
cheers,
Gerd
PS: There is also a usb.2.wip branch in the git repo with some more
wip/experimental/debug patches for those who what to play with ehci.
Gerd Hoffmann (24):
usb: data structs and helpers for usb descriptors.
usb hid: use new descriptor infrastructure.
usb serial: use new descriptor infrastructure.
usb storage: use new descriptor infrastructure.
usb wacom: use new descriptor infrastructure.
usb bluetooth: use new descriptor infrastructure.
usb hub: use new descriptor infrastructure.
usb descriptors: add settable strings.
usb storage: serial number support
usb network: use new descriptor infrastructure.
usb: move USB_REQ_SET_ADDRESS handling to common code
usb: move USB_REQ_{GET,SET}_CONFIGURATION handling to common code
usb: move remote wakeup handling to common code
usb: create USBPortOps, move attach there.
usb: rework attach/detach workflow
usb: add usb_wakeup() + wakeup callback to port ops
usb: uhci: remote wakeup support.
usb: hid: remote wakeup support.
usb: add speed mask to ports
usb: add attach callback
usb: add usb_desc_attach
usb: add device qualifier support
usb storage: high speed support
usb storage: fix status reporting
Makefile.objs | 2 +- hw/usb-bt.c | 525 ++++++++++++++++++++++-------------------------------- hw/usb-bus.c | 6 +- hw/usb-desc.c | 406 ++++++++++++++++++++++++++++++++++++++++++ hw/usb-desc.h | 92 ++++++++++ hw/usb-hid.c | 486 ++++++++++++++++++++++----------------------------- hw/usb-hub.c | 227 +++++++++++------------- hw/usb-msd.c | 263 ++++++++++++--------------- hw/usb-musb.c | 43 ++--- hw/usb-net.c | 528 +++++++++++++++++++++++-------------------------------- hw/usb-ohci.c | 87 +++++----- hw/usb-serial.c | 236 +++++++++---------------- hw/usb-uhci.c | 97 ++++++----- hw/usb-wacom.c | 214 ++++++++--------------- hw/usb.c | 34 ++++- hw/usb.h | 46 +++++- trace-events | 11 ++ 17 files changed, 1736 insertions(+), 1567 deletions(-) create mode 100644 hw/usb-desc.c create mode 100644 hw/usb-desc.h