can not receive xfer interrupt after stop xfer is called intel XHCI Gemini Lake SOC

Shichun.Ma at dell.com Shichun.Ma at dell.com
Thu Jan 9 01:38:04 UTC 2020


Dell Customer Communication - Confidential

Hi HPS,
Sorry for late response, I am busy with other issue last days.
I verified your diff, and I got positive result. Your diff fixes cancel xfer issue.
Will you commit it to main stream?

Regards,

Horse Ma (Shichun Ma)

Software Engineer
Dell | Cloud client-computing - Wyse
office +86 10 82862579,  Mobile +86 13241851528

See our products at www.dell.com/wyse

-----Original Message-----
From: Hans Petter Selasky <hps at selasky.org> 
Sent: Wednesday, January 8, 2020 7:16 PM
To: Ma, Horse; freebsd-usb at freebsd.org
Cc: Hu, Shunchao
Subject: Re: can not receive xfer interrupt after stop xfer is called intel XHCI Gemini Lake SOC


[EXTERNAL EMAIL] 

On 2019-12-31 11:53, Hans Petter Selasky wrote:
> On 2019-12-31 01:23, Shichun.Ma at dell.com wrote:
>> Dell Customer Communication - Confidential
>>
>> Hi HPS,
>>
>> It's already in stopped status. I am also confusing on the root cause.
>> I attached the test application and my patch for the xhci stop xfer 
>> workaround solution.
>> The confusing points:
>> 1. cancel xfer error can be reproduced on all CCID smart readers (I 
>> have tested three different model of readers); 2. keyboard has 
>> similar endpoint attribution, while I can't reproduce similar problem 
>> on the keyboard;
>>
> 
> Hi,
> 
> I suspect it is the newer XHCI hardware which has some additional 
> checks. Can you verify if the XHCI controller in your computer accept 
> multiple configure_ep() commands? The state diagram in the XHCI 
> specification does not say you cannot do this, but I imagine this 
> might be causing it.
> 
> The XHCI driver in FreeBSD configure one and one endpoint and not all 
> at the same time.
> 
> Can you try the attached patch instead of yours?
> 

Ping?

--HPS


More information about the freebsd-usb mailing list