qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/9] usb: replace buffers with iovecs.
@ 2011-07-18 15:51 Gerd Hoffmann
  2011-07-18 15:51 ` [Qemu-devel] [PATCH 1/9] Add iov_hexdump() Gerd Hoffmann
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Gerd Hoffmann @ 2011-07-18 15:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  Hi,

This patch series introduces iovecs to the USB subsystem, usb packet
payload is passed around as iovec instead of a linear buffer.  This
allows the host controllers to use scatter lists and to pass on data
buffers directly, so we can avoid an extra copy.

please review,
  Gerd

Gerd Hoffmann (9):
  Add iov_hexdump()
  Add iov_clear()
  move QEMUSGList typedef
  usb: use iovecs in USBPacket
  usb-serial: iovec support
  usb-host: iovec support
  usb-storage: iovec support
  uhci: remove buffer
  ehci: iovec support, remove buffer

 Makefile.objs          |    1 +
 dma.h                  |    4 +-
 hw/bt-hid.c            |   16 +++---
 hw/milkymist-softusb.c |    8 +-
 hw/usb-bt.c            |   31 ++++------
 hw/usb-ccid.c          |   46 ++++++++------
 hw/usb-ehci.c          |  160 ++++++++++++++++++++----------------------------
 hw/usb-hid.c           |    6 +-
 hw/usb-hub.c           |    8 ++-
 hw/usb-libhw.c         |   63 +++++++++++++++++++
 hw/usb-msd.c           |  109 ++++++++++++++++-----------------
 hw/usb-musb.c          |   22 +++---
 hw/usb-net.c           |   65 +++++++-------------
 hw/usb-ohci.c          |   23 +++----
 hw/usb-serial.c        |   26 +++++---
 hw/usb-uhci.c          |   51 +++++++--------
 hw/usb-wacom.c         |    6 +-
 hw/usb.c               |   86 +++++++++++++++++++++----
 hw/usb.h               |   13 +++-
 iov.c                  |   54 ++++++++++++++++
 iov.h                  |    4 +
 qemu-common.h          |    1 +
 usb-linux.c            |   48 +++++++++------
 23 files changed, 500 insertions(+), 351 deletions(-)
 create mode 100644 hw/usb-libhw.c

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-07-18 15:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 15:51 [Qemu-devel] [PATCH 0/9] usb: replace buffers with iovecs Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 1/9] Add iov_hexdump() Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 2/9] Add iov_clear() Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 3/9] move QEMUSGList typedef Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 4/9] usb: use iovecs in USBPacket Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 5/9] usb-serial: iovec support Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 6/9] usb-host: " Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 7/9] usb-storage: " Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 8/9] uhci: remove buffer Gerd Hoffmann
2011-07-18 15:51 ` [Qemu-devel] [PATCH 9/9] ehci: ioven support, " Gerd Hoffmann

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).