public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch V2 0/3] xen, usb: support pvUSB frontend driver
@ 2015-06-12 14:09 Juergen Gross
  2015-06-12 14:09 ` [Patch V2 1/3] usb: Add Xen pvUSB protocol description Juergen Gross
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Juergen Gross @ 2015-06-12 14:09 UTC (permalink / raw)
  To: linux-kernel, xen-devel, konrad.wilk, david.vrabel,
	boris.ostrovsky, linux-usb, gregkh
  Cc: Juergen Gross

This series adds XEN guest pvUSB support. With pvUSB it is possible to
use physical USB devices from a XEN domain.

The support consists of a frontend in the unprivileged domU passing
I/O-requests to the backend in a driver domain (usually Dom0). The
backend is not part of this patch series, as it will be supported
via qemu.

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). The pvUSB backend for these tests was a SUSE SLES Dom0
with a kernel based backend driver.

Changes since V1:
- removed backend, as it can be implemented in user land
- added some access macros and definitions to the pvUSB interface
  description to make it independant from linux kernel USB internals
- adapted frontend to newer kernel version and use new pvUSB
  interface macros
- set port status in one chunk as suggested by Oliver Neukum


Juergen Gross (3):
  usb: Add Xen pvUSB protocol description
  usb: Introduce Xen pvUSB frontend
  xen: add Xen pvUSB maintainer

 MAINTAINERS                      |    8 +
 drivers/usb/Kconfig              |    2 +
 drivers/usb/Makefile             |    2 +
 drivers/usb/xen/Kconfig          |   10 +
 drivers/usb/xen/Makefile         |    5 +
 drivers/usb/xen/xen-usbfront.c   | 1647 ++++++++++++++++++++++++++++++++++++++
 include/xen/interface/io/usbif.h |  252 ++++++
 7 files changed, 1926 insertions(+)
 create mode 100644 drivers/usb/xen/Kconfig
 create mode 100644 drivers/usb/xen/Makefile
 create mode 100644 drivers/usb/xen/xen-usbfront.c
 create mode 100644 include/xen/interface/io/usbif.h

-- 
2.1.4


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

end of thread, other threads:[~2015-06-15  4:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-12 14:09 [Patch V2 0/3] xen, usb: support pvUSB frontend driver Juergen Gross
2015-06-12 14:09 ` [Patch V2 1/3] usb: Add Xen pvUSB protocol description Juergen Gross
2015-06-12 16:23   ` Greg KH
2015-06-15  4:04     ` Juergen Gross
2015-06-12 14:10 ` [Patch V2 2/3] usb: Introduce Xen pvUSB frontend Juergen Gross
2015-06-12 16:20   ` Greg KH
2015-06-12 16:33     ` [Xen-devel] " David Vrabel
2015-06-12 18:06       ` Greg KH
2015-06-15  4:36     ` Juergen Gross
2015-06-12 14:10 ` [Patch V2 3/3] xen: add Xen pvUSB maintainer Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox