From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 0/9] usb: replace buffers with iovecs.
Date: Mon, 18 Jul 2011 17:51:19 +0200 [thread overview]
Message-ID: <1311004288-10970-1-git-send-email-kraxel@redhat.com> (raw)
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
next reply other threads:[~2011-07-18 15:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 15:51 Gerd Hoffmann [this message]
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
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=1311004288-10970-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).