xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Patch V4 0/3] xen, usb: support pvUSB frontend driver
@ 2015-06-23  6:53 Juergen Gross
       [not found] ` <1435042405-14235-1-git-send-email-jgross-IBi9RG/b67k@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Juergen Gross @ 2015-06-23  6:53 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 form of a virtual hcd driver 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 in V4:
- remove sysfs file from frontend, as it violated the "one value per file"
  rule and didn't serve any real purpose.

Changes in V3:
- move frontend to drivers/usb/host and rename it to xen-hcd.
- changed name prefixes in patch 1 to "xenusb" as requested by Greg
- use __u<n> types rather than uint<n>_t as requested by Greg

Changes in V2:
- 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 hcd)
  xen: add Xen pvUSB maintainer

 MAINTAINERS                      |    8 +
 drivers/usb/host/Kconfig         |   11 +
 drivers/usb/host/Makefile        |    1 +
 drivers/usb/host/xen-hcd.c       | 1594 ++++++++++++++++++++++++++++++++++++++
 include/xen/interface/io/usbif.h |  252 ++++++
 5 files changed, 1866 insertions(+)
 create mode 100644 drivers/usb/host/xen-hcd.c
 create mode 100644 include/xen/interface/io/usbif.h

-- 
2.1.4

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

end of thread, other threads:[~2016-03-18 12:28 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-23  6:53 [Patch V4 0/3] xen, usb: support pvUSB frontend driver Juergen Gross
     [not found] ` <1435042405-14235-1-git-send-email-jgross-IBi9RG/b67k@public.gmane.org>
2015-06-23  6:53   ` [Patch V4 1/3] usb: Add Xen pvUSB protocol description Juergen Gross
2015-07-22 23:46     ` Greg KH
2015-07-23  4:04       ` Juergen Gross
     [not found]         ` <55B067D7.3030904-IBi9RG/b67k@public.gmane.org>
2015-07-23  4:36           ` Greg KH
     [not found]             ` <20150723043653.GA31524-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-07-23  6:46               ` Juergen Gross
     [not found]                 ` <55B08DB9.60902-IBi9RG/b67k@public.gmane.org>
2015-07-23  9:38                   ` [Xen-devel] " David Vrabel
2015-07-23 19:08                 ` Greg KH
2015-07-23 21:29                   ` Pasi Kärkkäinen
2015-07-24  3:51                   ` Juergen Gross
     [not found]                     ` <55B1B628.7090200-IBi9RG/b67k@public.gmane.org>
2015-07-24 18:57                       ` Greg KH
2015-07-24 19:25                         ` Konrad Rzeszutek Wilk
     [not found]     ` <1435042405-14235-2-git-send-email-jgross-IBi9RG/b67k@public.gmane.org>
2015-07-23  9:39       ` [Xen-devel] " David Vrabel
2015-06-23  6:53   ` [Patch V4 2/3] usb: Introduce Xen pvUSB frontend (xen hcd) Juergen Gross
     [not found]     ` <1435042405-14235-3-git-send-email-jgross-IBi9RG/b67k@public.gmane.org>
2015-07-23  9:47       ` David Vrabel
2015-06-23  6:53   ` [Patch V4 3/3] xen: add Xen pvUSB maintainer Juergen Gross
2015-07-20  5:13   ` [Patch V4 0/3] xen, usb: support pvUSB frontend driver Juergen Gross
2016-03-17 19:43     ` Oleksandr Tyshchenko
     [not found]       ` <CAJEb2DHesrZn0H=d4KVn6sbyXFA8ykdUFMftyAZqbwSKk_JKKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-18  8:32         ` [Xen-devel] " Juergen Gross
2016-03-18 12:28           ` Oleksandr Tyshchenko

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