From: Juergen Gross <jgross@suse.com>
To: Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
Cc: 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
Subject: Re: [Xen-devel] [Patch V4 0/3] xen, usb: support pvUSB frontend driver
Date: Fri, 18 Mar 2016 09:32:18 +0100 [thread overview]
Message-ID: <56EBBD12.90708@suse.com> (raw)
In-Reply-To: <CAJEb2DHesrZn0H=d4KVn6sbyXFA8ykdUFMftyAZqbwSKk_JKKQ@mail.gmail.com>
Hi Oleksandr,
On 17/03/16 20:43, Oleksandr Tyshchenko wrote:
> Hi Juergen, All.
>
> I would like to apply PVUSB drivers for using in our platform while
> PVUSB stuff doesn't reach upstream.
>
> Unfortunately, I couldn't find more recent version of "kernel based"
> backend driver in mailing list.
> I have found it in v0 only.
>
> [Xen-devel] [PATCH 0/4] xen, usb: support pvUSB drivers
> <http://lists.xenproject.org/archives/html/xen-devel/2015-02/msg03245.html>
>
> Can I use this frontend driver (v4) together with kernel based backend
> driver (v0)?
> Are they fully compatible with each other?
I didn't send any further version as it was regarded to be better to
provide such a backend via qemu (patches are being reviewed right now,
I sent them last week).
Regarding compatibility: should work. I've tested all possible
combinations of frontends/backends with both my upstream variants
you are referring to and the SUSE SLE variants which are kernel-xen
specific and SUSE-only.
You should be aware, however, that there might be some bugs in the
v0 backend driver. It was tested by me only.
> Thank you.
You're welcome. :-)
Juergen
>
> On Mon, Jul 20, 2015 at 8:13 AM, Juergen Gross <jgross@suse.com
> <mailto:jgross@suse.com>> wrote:
>
> Ping?
>
>
> On 06/23/2015 08:53 AM, Juergen Gross wrote:
>
> 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
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org <mailto:Xen-devel@lists.xen.org>
> http://lists.xen.org/xen-devel
>
>
>
>
> --
>
> Oleksandr Tyshchenko | Embedded Dev
> GlobalLogic
> www.globallogic.com <http://www.globallogic.com/>
> <http://www.globallogic.com/>
WARNING: multiple messages have this Message-ID (diff)
From: Juergen Gross <jgross-IBi9RG/b67k@public.gmane.org>
To: Oleksandr Tyshchenko
<oleksandr.tyshchenko-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
xen-devel-GuqFBffKawuULHF6PoxzQEEOCMrvLtNR@public.gmane.org,
konrad.wilk-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org,
david.vrabel-Sxgqhf6Nn4DQT0dZR+AlfA@public.gmane.org,
boris.ostrovsky-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org,
linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org
Subject: Re: [Xen-devel] [Patch V4 0/3] xen, usb: support pvUSB frontend driver
Date: Fri, 18 Mar 2016 09:32:18 +0100 [thread overview]
Message-ID: <56EBBD12.90708@suse.com> (raw)
In-Reply-To: <CAJEb2DHesrZn0H=d4KVn6sbyXFA8ykdUFMftyAZqbwSKk_JKKQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
Hi Oleksandr,
On 17/03/16 20:43, Oleksandr Tyshchenko wrote:
> Hi Juergen, All.
>
> I would like to apply PVUSB drivers for using in our platform while
> PVUSB stuff doesn't reach upstream.
>
> Unfortunately, I couldn't find more recent version of "kernel based"
> backend driver in mailing list.
> I have found it in v0 only.
>
> [Xen-devel] [PATCH 0/4] xen, usb: support pvUSB drivers
> <http://lists.xenproject.org/archives/html/xen-devel/2015-02/msg03245.html>
>
> Can I use this frontend driver (v4) together with kernel based backend
> driver (v0)?
> Are they fully compatible with each other?
I didn't send any further version as it was regarded to be better to
provide such a backend via qemu (patches are being reviewed right now,
I sent them last week).
Regarding compatibility: should work. I've tested all possible
combinations of frontends/backends with both my upstream variants
you are referring to and the SUSE SLE variants which are kernel-xen
specific and SUSE-only.
You should be aware, however, that there might be some bugs in the
v0 backend driver. It was tested by me only.
> Thank you.
You're welcome. :-)
Juergen
>
> On Mon, Jul 20, 2015 at 8:13 AM, Juergen Gross <jgross-IBi9RG/b67k@public.gmane.org
> <mailto:jgross-IBi9RG/b67k@public.gmane.org>> wrote:
>
> Ping?
>
>
> On 06/23/2015 08:53 AM, Juergen Gross wrote:
>
> 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
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org <mailto:Xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org>
> http://lists.xen.org/xen-devel
>
>
>
>
> --
>
> Oleksandr Tyshchenko | Embedded Dev
> GlobalLogic
> www.globallogic.com <http://www.globallogic.com/>
> <http://www.globallogic.com/>
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-03-18 8:32 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-23 6:53 [Patch V4 0/3] xen, usb: support pvUSB frontend driver Juergen Gross
2015-06-23 6:53 ` Juergen Gross
2015-06-23 6:53 ` [Patch V4 1/3] usb: Add Xen pvUSB protocol description Juergen Gross
2015-06-23 6:53 ` Juergen Gross
2015-07-22 23:46 ` Greg KH
2015-07-23 4:04 ` Juergen Gross
2015-07-23 4:36 ` Greg KH
2015-07-23 4:36 ` Greg KH
2015-07-23 6:46 ` Juergen Gross
2015-07-23 6:46 ` Juergen Gross
2015-07-23 9:38 ` [Xen-devel] " David Vrabel
2015-07-23 9:38 ` David Vrabel
2015-07-23 19:08 ` Greg KH
2015-07-23 21:29 ` [Xen-devel] " Pasi Kärkkäinen
2015-07-23 21:29 ` Pasi Kärkkäinen
2015-07-24 3:51 ` Juergen Gross
2015-07-24 18:57 ` Greg KH
2015-07-24 18:57 ` Greg KH
2015-07-24 19:25 ` Konrad Rzeszutek Wilk
2015-07-23 9:39 ` [Xen-devel] " David Vrabel
2015-07-23 9:39 ` David Vrabel
2015-06-23 6:53 ` [Patch V4 2/3] usb: Introduce Xen pvUSB frontend (xen hcd) Juergen Gross
2015-06-23 6:53 ` Juergen Gross
2015-07-23 9:47 ` David Vrabel
2015-07-23 9:47 ` David Vrabel
2015-06-23 6:53 ` [Patch V4 3/3] xen: add Xen pvUSB maintainer Juergen Gross
2015-06-23 6:53 ` Juergen Gross
2015-07-20 5:13 ` [Patch V4 0/3] xen, usb: support pvUSB frontend driver Juergen Gross
2015-07-20 5:13 ` Juergen Gross
2016-03-17 19:43 ` Oleksandr Tyshchenko
2016-03-18 8:32 ` Juergen Gross [this message]
2016-03-18 8:32 ` [Xen-devel] " Juergen Gross
2016-03-18 12:28 ` Oleksandr Tyshchenko
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=56EBBD12.90708@suse.com \
--to=jgross@suse.com \
--cc=boris.ostrovsky@oracle.com \
--cc=david.vrabel@citrix.com \
--cc=gregkh@linuxfoundation.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=oleksandr.tyshchenko@globallogic.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.