From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleksandr Tyshchenko Subject: Re: [Patch V4 0/3] xen, usb: support pvUSB frontend driver Date: Thu, 17 Mar 2016 21:43:41 +0200 Message-ID: References: <1435042405-14235-1-git-send-email-jgross@suse.com> <55AC837A.6060105@suse.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4399806221590817450==" Return-path: In-Reply-To: <55AC837A.6060105@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Juergen Gross Cc: xen-devel@lists.xensource.com, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, david.vrabel@citrix.com, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org --===============4399806221590817450== Content-Type: multipart/alternative; boundary=089e0149532afaaeb8052e43d8f1 --089e0149532afaaeb8052e43d8f1 Content-Type: text/plain; charset=UTF-8 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 Can I use this frontend driver (v4) together with kernel based backend driver (v0)? Are they fully compatible with each other? Thank you. On Mon, Jul 20, 2015 at 8:13 AM, Juergen Gross 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 types rather than uint_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 > http://lists.xen.org/xen-devel > -- Oleksandr Tyshchenko | Embedded Dev GlobalLogic www.globallogic.com --089e0149532afaaeb8052e43d8f1 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Juergen, All.

I would like to apply PVUSB driver= s for using in our platform while PVUSB stuff doesn't reach upstream.
Unfortunately, I couldn't find more recent version of "kerne= l based" backend driver in mailing list.
I have found it in v0 only= .

[Xen-devel] [PATCH 0/4] xen, usb: support p= vUSB drivers

Can I use this frontend driver (v4) together with k= ernel based backend driver (v0)?
Are they fully compatible with each oth= er?

Thank you.

On Mon, Jul 20, 2015 at 8:13 AM, Juergen Gross <jgross@su= se.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 f= ile"
=C2=A0 =C2=A0rule 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 Gr= eg
- 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
=C2=A0 =C2=A0description to make it independant from linux kernel USB inter= nals
- adapted frontend to newer kernel version and use new pvUSB
=C2=A0 =C2=A0interface macros
- set port status in one chunk as suggested by Oliver Neukum


Juergen Gross (3):
=C2=A0 =C2=A0usb: Add Xen pvUSB protocol description
=C2=A0 =C2=A0usb: Introduce Xen pvUSB frontend (xen hcd)
=C2=A0 =C2=A0xen: add Xen pvUSB maintainer

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



_______________________________________________
Xen-devel mailing list
Xen-devel@list= s.xen.org
http://lists.xen.org/xen-devel



--
=

Oleksandr Tyshchenko | E= mbedded Dev
GlobalLogic
<= a href=3D"http://www.globallogic.com/" target=3D"_blank">www.globallogic.com
--089e0149532afaaeb8052e43d8f1-- --===============4399806221590817450== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwOi8vbGlzdHMueGVuLm9y Zy94ZW4tZGV2ZWwK --===============4399806221590817450==--