Patchwork [v4,00/32] usb descriptor overhaul + more

login
register
mail settings
Submitter Gerd Hoffmann
Date Jan. 12, 2011, 11:19 a.m.
Message ID <1294831214-4499-1-git-send-email-kraxel@redhat.com>
Download mbox
Permalink /patch/78543/
State New
Headers show

Pull-request

git://anongit.freedesktop.org/spice/qemu usb.4

Comments

Gerd Hoffmann - Jan. 12, 2011, 11:19 a.m.
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
Gerd Hoffmann - Jan. 21, 2011, 3 p.m.
On 01/12/11 12:19, Gerd Hoffmann wrote:
>    Hi,
>
> Here is a update of the usb descriptor patches and a bunch of
> improvements on top of that.  This patch series features:

[ ... ]

> 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

Ping?

cheers,
   Gerd
Aurelien Jarno - Jan. 21, 2011, 5:04 p.m.
On Fri, Jan 21, 2011 at 04:00:47PM +0100, Gerd Hoffmann wrote:
> On 01/12/11 12:19, Gerd Hoffmann wrote:
>>    Hi,
>>
>> Here is a update of the usb descriptor patches and a bunch of
>> improvements on top of that.  This patch series features:
>
> [ ... ]
>
>> 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
>
> Ping?
>

Pulled. Thanks for all the good work.