From patchwork Fri Nov 9 09:05:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 197994 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A2BEC2C022F for ; Fri, 9 Nov 2012 20:06:15 +1100 (EST) Received: from localhost ([::1]:55818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWkXV-0005r2-1N for incoming@patchwork.ozlabs.org; Fri, 09 Nov 2012 04:06:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWkXI-0005pL-0r for qemu-devel@nongnu.org; Fri, 09 Nov 2012 04:06:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWkXB-0001Ar-PR for qemu-devel@nongnu.org; Fri, 09 Nov 2012 04:05:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:28043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWkXB-0001Ab-GB for qemu-devel@nongnu.org; Fri, 09 Nov 2012 04:05:53 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qA995q6t018478 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 9 Nov 2012 04:05:52 -0500 Received: from rincewind.home.kraxel.org (ovpn-116-66.ams2.redhat.com [10.36.116.66]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qA995pEZ005255; Fri, 9 Nov 2012 04:05:52 -0500 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 4C4F140296; Fri, 9 Nov 2012 10:05:51 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Fri, 9 Nov 2012 10:05:43 +0100 Message-Id: <1352451951-9407-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Gerd Hoffmann Subject: [Qemu-devel] [PULL 0/8] usb patch queue X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Hi, This is the usb patch queue. It cleans up the USBPacket error handling to have separate length and status fields which is needed to get some corner cases correct. While being at it it also makes status reporting identical for both sync and async USBPackets. It also features a fix for the ehci migration bug added by the most recent pull and endian fixes for xhci. please pull, Gerd The following changes since commit 2592c59a66d456fe98fe96cb5787b356c40ee66f: tools: initialize main loop before block layer (2012-11-06 04:37:57 +0400) are available in the git repository at: git://git.kraxel.org/qemu usb.70 David Gibson (1): xhci: Fix some DMA host endian bugs Gerd Hoffmann (1): ehci: fix migration Hans de Goede (6): usb: split packet result into actual_length + status usb-redir: Allow packets to have both data and an error-status ehci: Get rid of the magical PROC_ERR status ehci: Add support for packets with both data and an error status xhci: Add support for packets with both data and an error status usb/combined-packet: Move freeing of combined to usb_combined_packet_remove() hw/usb.h | 24 +++-- hw/usb/bus.c | 13 +-- hw/usb/combined-packet.c | 58 ++++++----- hw/usb/core.c | 209 +++++++++++++++++++++------------------- hw/usb/desc.c | 16 ++- hw/usb/desc.h | 3 +- hw/usb/dev-audio.c | 49 +++------ hw/usb/dev-bluetooth.c | 33 +++---- hw/usb/dev-hid.c | 42 ++++----- hw/usb/dev-hub.c | 34 +++---- hw/usb/dev-network.c | 101 +++++++++---------- hw/usb/dev-serial.c | 29 ++---- hw/usb/dev-smartcard-reader.c | 69 +++++-------- hw/usb/dev-storage.c | 51 ++++------ hw/usb/dev-uas.c | 36 +++---- hw/usb/dev-wacom.c | 38 +++---- hw/usb/hcd-ehci-pci.c | 3 +- hw/usb/hcd-ehci.c | 216 ++++++++++++++++++++--------------------- hw/usb/hcd-ehci.h | 1 - hw/usb/hcd-musb.c | 16 ++-- hw/usb/hcd-ohci.c | 26 +++-- hw/usb/hcd-uhci.c | 34 +++---- hw/usb/hcd-xhci.c | 129 +++++++++++++++---------- hw/usb/host-bsd.c | 27 +++--- hw/usb/host-linux.c | 128 +++++++++++++----------- hw/usb/redirect.c | 187 ++++++++++++++++++----------------- 26 files changed, 775 insertions(+), 797 deletions(-)