[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 00/32] usb descriptor overhaul + more
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH v4 00/32] usb descriptor overhaul + more |
Date: |
Wed, 12 Jan 2011 12:19:42 +0100 |
Hi,
Here is a update of the usb descriptor patches and a bunch of
improvements on top of that. This patch series features:
* Update USB section in MAINTAINERS
* A major overhaul for the usb descriptor handling for
emulated devices. This is in preparation for USB 2.0
support entering qemu which will need a bit more
sophisticated descriptor handling. This is also for
moving descriptor handling to common code instead of
having each driver duplicate it.
* Improved usb port management.
* Remote wakeup support, which allows guests to suspend
the usb bus when all devices are idle, so qemu will
not wakeup at usb frame rate (1000 Hz).
* A bunch of improvements and fixes for the usb-storage
emulation. It features full USB 2.0 support now, although
due to the lack of a EHCI controller the only thing you'll
notice is that the linux kernel logs a message which suggests
to connect the device to a high-speed port.
New in v4:
* rebased to latest master
* solved conflicts with glebs fw_path bits
* rewrote anf fixed the fw_path support for usb to use the
new port management support (check last two patches).
cheers,
Gerd
The following changes since commit 05bf441eb69a813d3893174d54faa6afa8c0d39b:
cris: Remove unused orig_flags (2011-01-10 23:28:08 +0100)
are available in the git repository at:
git://anongit.freedesktop.org/spice/qemu usb.4
Gerd Hoffmann (32):
usb: update MAINTAINERS
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: hub: remote wakeup support.
usb: hid: remote wakeup support.
usb: hid: change serial number to "42".
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
usb storage: handle long responses
usb: keep track of physical port address.
usb: add port property.
usb: rewrite fw path, fix numbering
usb: zap pdev from usbport
MAINTAINERS | 4 +-
Makefile.objs | 2 +-
hw/usb-bt.c | 525 ++++++++++++++++++++++--------------------------------
hw/usb-bus.c | 129 ++++++++------
hw/usb-desc.c | 406 ++++++++++++++++++++++++++++++++++++++++++
hw/usb-desc.h | 92 ++++++++++
hw/usb-hid.c | 486 ++++++++++++++++++++++-----------------------------
hw/usb-hub.c | 250 +++++++++++++-------------
hw/usb-msd.c | 267 +++++++++++++---------------
hw/usb-musb.c | 44 ++---
hw/usb-net.c | 528 +++++++++++++++++++++++--------------------------------
hw/usb-ohci.c | 88 +++++-----
hw/usb-serial.c | 236 +++++++++----------------
hw/usb-uhci.c | 98 ++++++-----
hw/usb-wacom.c | 214 ++++++++---------------
hw/usb.c | 34 ++++-
hw/usb.h | 50 +++++-
trace-events | 11 ++
18 files changed, 1842 insertions(+), 1622 deletions(-)
create mode 100644 hw/usb-desc.c
create mode 100644 hw/usb-desc.h
- [Qemu-devel] [PATCH v4 00/32] usb descriptor overhaul + more,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH v4 01/32] usb: update MAINTAINERS, Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 04/32] usb serial: use new descriptor infrastructure., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 02/32] usb: data structs and helpers for usb descriptors., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 03/32] usb hid: use new descriptor infrastructure., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 10/32] usb storage: serial number support, Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 05/32] usb storage: use new descriptor infrastructure., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 06/32] usb wacom: use new descriptor infrastructure., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 09/32] usb descriptors: add settable strings., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 08/32] usb hub: use new descriptor infrastructure., Gerd Hoffmann, 2011/01/12
- [Qemu-devel] [PATCH v4 12/32] usb: move USB_REQ_SET_ADDRESS handling to common code, Gerd Hoffmann, 2011/01/12