RE: [PATCH V2] USBIP: return correct port ENABLE status

From: Zhang, Pei
Date: Wed Jan 10 2018 - 03:12:56 EST


Hi Shuah,

Thanks for your response. It's on KVM hypervisor platform, while the Dom0 is the usbip server, and a DomU act as the client. This issue could be 100% reproduced with the specified devices referred in my patch comment.

I will prepare the environment and then send you related information later.

********* *****
BRs,
Pei Zhang

> -----Original Message-----
> From: Shuah Khan [mailto:shuah@xxxxxxxxxx]
> Sent: Wednesday, January 10, 2018 1:44 AM
> To: Zhang, Pei <pei.zhang@xxxxxxxxx>; valentina.manea.m@xxxxxxxxx;
> gregkh@xxxxxxxxxxxxxxxxxxx
> Cc: linux-usb@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Shuah Khan
> <shuahkh@xxxxxxxxxxxxxxx>; Shuah Khan <shuah@xxxxxxxxxx>
> Subject: Re: [PATCH V2] USBIP: return correct port ENABLE status
>
> On 12/18/2017 11:00 PM, pei.zhang@xxxxxxxxx wrote:
> > From: Pei Zhang <pei.zhang@xxxxxxxxx>
> >
> > USB system will clear port's ENABLE feature for some USB devices when
> > vdev is already assigned port address. This cause getPortStatus
> > reports to system that this device is not enabled, client OS will
> > failed to use this usb device.
> >
> > The failure devices include a SAMSUNG SSD storage, Logitech webcam
> C920.
> >
> > V2: send again to all related maintainers.
> >
> > Signed-off-by: Pei Zhang <pei.zhang@xxxxxxxxx>
>
> Hi Pei Zhang,
>
> Can you elaborate on how you can trigger this condition? Can you send me
> more information on how to recreate the problem and demsg from server
> and client side when this problem happens.
>
> thanks,
> -- Shuah