qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 00/24] usb descriptor overhaul.
Date: Thu,  9 Dec 2010 13:30:03 +0100	[thread overview]
Message-ID: <1291897827-11424-1-git-send-email-kraxel@redhat.com> (raw)

  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

             reply	other threads:[~2010-12-09 12:30 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 12:30 Gerd Hoffmann [this message]
2010-12-09 12:30 ` [Qemu-devel] [PATCH 01/24] usb: data structs and helpers for usb descriptors Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 02/24] usb hid: use new descriptor infrastructure Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 03/24] usb serial: " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 04/24] usb storage: " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 05/24] usb wacom: " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 06/24] usb bluetooth: " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 07/24] usb hub: " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 08/24] usb descriptors: add settable strings Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 09/24] usb storage: serial number support Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 10/24] usb network: use new descriptor infrastructure Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 11/24] usb: move USB_REQ_SET_ADDRESS handling to common code Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 12/24] usb: move USB_REQ_{GET, SET}_CONFIGURATION " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 13/24] usb: move remote wakeup " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 14/24] usb: create USBPortOps, move attach there Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 15/24] usb: rework attach/detach workflow Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 16/24] usb: add usb_wakeup() + wakeup callback to port ops Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 17/24] usb: uhci: remote wakeup support Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 18/24] usb: hid: " Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 19/24] usb: add speed mask to ports Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 20/24] usb: add attach callback Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 21/24] usb: add usb_desc_attach Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 22/24] usb: add device qualifier support Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 23/24] usb storage: high speed support Gerd Hoffmann
2010-12-09 12:30 ` [Qemu-devel] [PATCH 24/24] usb storage: fix status reporting Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1291897827-11424-1-git-send-email-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).