Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753811AbbBZNfZ (ORCPT ); Thu, 26 Feb 2015 08:35:25 -0500 Received: from cantor2.suse.de ([195.135.220.15]:42043 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753770AbbBZNfX (ORCPT ); Thu, 26 Feb 2015 08:35:23 -0500 From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xensource.com, konrad.wilk@oracle.com, david.vrabel@citrix.com, boris.ostrovsky@oracle.com, linux-usb@vger.kernel.org, gregkh@linuxfoundation.org, cyliu@suse.com Cc: Juergen Gross Subject: [PATCH 0/4] xen, usb: support pvUSB drivers Date: Thu, 26 Feb 2015 14:35:13 +0100 Message-Id: <1424957717-392-1-git-send-email-jgross@suse.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1860 Lines: 46 This series adds XEN pvUSB support. With pvUSB it is possible to use physical USB devices from a XEN domain. The support consists of a backend in the privileged Domain-0 doing the real I/O and a frontend in the unprivileged domU passing I/O-requests to the backend. The code is taken (and adapted) from the original pvUSB implementation done for Linux 2.6 in 2008 by Fujitsu. Normal operation of USB devices by adding and removing them dynamically to/from a domain has been tested using various USB devices (USB 1.1, 2.0 and 3.0). Assignment of a USB device at domain creation via config file has been tested as well. Tests have been performed with the xm toolset and with xl using patches from Chun Yan Liu which are not upstream yet. Juergen Gross (4): usb: Add Xen pvUSB protocol description usb: Introduce Xen pvUSB frontend usb: Introduce Xen pvUSB backend xen: add Xen pvUSB maintainer MAINTAINERS | 8 + drivers/usb/Kconfig | 2 + drivers/usb/Makefile | 3 + drivers/usb/xen/Kconfig | 20 + drivers/usb/xen/Makefile | 6 + drivers/usb/xen/xen-usbback.c | 1845 ++++++++++++++++++++++++++++++++++++++ drivers/usb/xen/xen-usbfront.c | 1634 +++++++++++++++++++++++++++++++++ include/xen/interface/io/usbif.h | 220 +++++ 8 files changed, 3738 insertions(+) create mode 100644 drivers/usb/xen/Kconfig create mode 100644 drivers/usb/xen/Makefile create mode 100644 drivers/usb/xen/xen-usbback.c create mode 100644 drivers/usb/xen/xen-usbfront.c create mode 100644 include/xen/interface/io/usbif.h -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/