All of lore.kernel.org
 help / color / mirror / Atom feed
From: LARRIEU Dominique <dominique.larrieu@thalesgroup.com>
To: Julien Grall <julien@xen.org>
Cc: "GOURLOT Francois" <francois.gourlot@thalesgroup.com>,
	"GRUO Nicolas" <nicolas-n.gruo@thalesgroup.com>,
	Cc <xen-devel@lists.xenproject.org>,
	"Kelly Choi" <kelly.choi@cloud.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Roger Pau Monné" <roger.pau@citrix.com>,
	"Andrew Cooper" <andrew.cooper3@citrix.com>,
	"George Dunlap" <george.dunlap@citrix.com>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Juergen Gross" <jgross@suse.com>,
	"WILLEMS Louis" <louis.willems@thalesgroup.com>
Subject: RE: IMPORTANT - : Need help on USB port virtualization with Xen hypervisor
Date: Thu, 29 Feb 2024 10:33:57 +0000	[thread overview]
Message-ID: <3ee3659afff645cabed86bcc22c44686@thalesgroup.com> (raw)
In-Reply-To: <673b2bc630d748e8af0a15d4b553906e@thalesgroup.com>

[-- Attachment #1: Type: text/plain, Size: 5357 bytes --]

Hi Julien,

Thank you for your quick answer.

You will find below our answers (in red) to your questions.

To summarize our request : what we would like is to use USB 3.0 driver with high speed configuration.
Today, it is not possible to do that.
The driver stay in full speed mode, and more often in USB 1.0 or 2.0 configuration.

Is it possible to configure the XEN USB 3.0 driver with the high speed mode ?
(read in our answers below the reference to the driver)

Best regards,
Dominique




-----Message d'origine-----

De : Julien Grall <julien@xen.org<mailto:julien@xen.org>>

Envoyé : samedi 24 février 2024 14:37

À : GOURLOT Francois <francois.gourlot@thalesgroup.com<mailto:francois.gourlot@thalesgroup.com>>; xen-devel@lists.xenproject.org<mailto:xen-devel@lists.xenproject.org> Cc : Kelly Choi <kelly.choi@cloud.com<mailto:kelly.choi@cloud.com>>; Jan Beulich <jbeulich@suse.com<mailto:jbeulich@suse.com>>; Roger Pau Monné <roger.pau@citrix.com<mailto:roger.pau@citrix.com>>; Andrew Cooper <andrew.cooper3@citrix.com<mailto:andrew.cooper3@citrix.com>>; George Dunlap <george.dunlap@citrix.com<mailto:george.dunlap@citrix.com>>; Jan Beulich <jbeulich@suse.com<mailto:jbeulich@suse.com>>; Juergen Gross <jgross@suse.com<mailto:jgross@suse.com>> Objet : Re: IMPORTANT - : Need help on USB port virtualization with Xen hypervisor



Hi Dominique and Francois,



Thank you for the report. I am CCing some person who I think could help.



I also have some questions (see below).



On 23/02/2024 16:00, GOURLOT Francois wrote:

> Dear All,

>

> We send you a message few days ago.

>

> We have major performance with XEN USB Drivers. We use your driver to

> load data in a device and we need USB3 High Speed USB protocole

>

> Do you have a new issue of the HCI and NEC USB Xen Driver ?



[...]



> *De :*LARRIEU Dominique <dominique.larrieu@thalesgroup.com<mailto:dominique.larrieu@thalesgroup.com>>

> *Envoyé :* jeudi 22 février 2024 13:58 *À :*

> xen-devel@lists.xenproject.org<mailto:xen-devel@lists.xenproject.org> *Cc :* WILLEMS Louis

> <louis.willems@thalesgroup.com<mailto:louis.willems@thalesgroup.com>>; GRUO Nicolas

> <nicolas-n.gruo@thalesgroup.com<mailto:nicolas-n.gruo@thalesgroup.com>>; GOURLOT Francois

> <francois.gourlot@thalesgroup.com<mailto:francois.gourlot@thalesgroup.com>>; Kelly Choi <kelly.choi@cloud.com<mailto:kelly.choi@cloud.com>>

> *Objet :* Need help on USB port virtualization with Xen hypervisor

> *Critère de diffusion :* Confidentiel

>

>     Dear all,

>

>     We are detecting several issues with USB port virtualization with the

>     Xen hypervisor.



Just to clarify, you are assigning the PCI USB bus (rather than just the USB device) to the guest. Is that correct?



If so...



[Thales] : we are using the USB chipset of the mother board (see below the references)



>

> Do you have a new issue of the HCI and NEC USB Xen Driver ?



... I am not sure what Xen driver you are talking about. If the USB bus is assigned to the guest, then I would expect no specific Xen driver are required. Do you have any pointer to the existing one?



[Thales] : see references to HW and SW below



>     - We cannot do PCI passthrough of the PCI usb bus on a Windows 10

>     1607 64-bit virtual machine. The bad result is a Windows blue screen.

>

>     - When we use the passthrough functionality on a Windows 21H2

>     virtual machine, we notice thatthe speed of the USB port is not high

>     speed but full speed on a USB 3.0 port

>

>     - We notice instabilities when using the nec-usb-xhci driver,  USB

>     2.0 keys are not recognized by the Windows virtual machine

>     (incorrect descriptor)



Do you have any logs you could share from the guest OS? Also, would you be able to share more details on how you configure the guest? (e.g. xl configuration, libvirt...)?



>

>     We needyour helpto find a solution for these problems.

>

>     The Software used are :



Can you share some details of the HW you are using ?



[Thales] : HW :

[Thales] : We are using a GETAC X500 using the Mobile Intel QM175 Chipset

[Thales] : USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)

[Thales] : Subsystem: Mitac 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller



[Thales] : SW :

[Thales] : Kernel driver in use: xhci_hcd

[Thales] : Kernel modules : xhci_pci



>

>     -Debian 11 version5.10.0-20

>

>     -Xen version4.14



Are minor version of Xen 4.14 are you using ? Any patches on top ?



Xen 4.14 has also been out of support for a few months now. If that’s possible, I would recommend to try a new Xen version (the last stable is

4.18) just in case your issue as been fixed in newer release.



[Thales] : we have to use Xen release that are downloaded from the Debian official repository  (requested by our customer)

[Thales] : the last one is version 4.14, but we would like to know if there is one more recent that is compatible with Linux Debian 11 ?



>

>     -Windows 10 1607 and 21H2 for virtual machines. Virtual Machine

> HVM



Cheers,



--

Julien Grall

[-- Attachment #2: Type: text/html, Size: 16334 bytes --]

  parent reply	other threads:[~2024-02-29 10:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-23 16:00 IMPORTANT - : Need help on USB port virtualization with Xen hypervisor GOURLOT Francois
2024-02-24 13:37 ` Julien Grall
2024-02-25 12:19   ` Rob Townley
2024-02-26  9:15     ` GOURLOT Francois
     [not found]   ` <a46ac2e14fa2410eafc26a37a00a442f@thalesgroup.com>
     [not found]     ` <427d2ecb865648b7a459c592c208c0be@thalesgroup.com>
     [not found]       ` <673b2bc630d748e8af0a15d4b553906e@thalesgroup.com>
2024-02-29 10:33         ` LARRIEU Dominique [this message]
2024-02-29 11:51           ` Julien Grall
     [not found]             ` <8f2a2bbaf29e41709eeab695efe48f17@thalesgroup.com>
     [not found]               ` <acf5d91425f34721b496cd49f3883ac9@thalesgroup.com>
2024-03-14 13:52                 ` LARRIEU Dominique
2024-03-15 23:32                   ` Stefano Stabellini
2024-03-16  6:38                     ` Jürgen Groß

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=3ee3659afff645cabed86bcc22c44686@thalesgroup.com \
    --to=dominique.larrieu@thalesgroup.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=francois.gourlot@thalesgroup.com \
    --cc=george.dunlap@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=julien@xen.org \
    --cc=kelly.choi@cloud.com \
    --cc=louis.willems@thalesgroup.com \
    --cc=nicolas-n.gruo@thalesgroup.com \
    --cc=roger.pau@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /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.