Re: spec violation of xHCI?

2013-12-16 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Mon, 16 Dec 2013 11:53:31 +0100 Hi Kohji, A regression issue has been reported when using the CHAIN-BIT patch. Can you verify this additional patch on you hardware and report back? http://svnweb.freebsd.org/changeset/base/259462 Thank

Re: spec violation of xHCI?

2013-12-12 Thread Hans Petter Selasky
On 12/12/13 08:40, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Hi HPS, The endpoint type is BULK, and the direction is OUT. I checked by using a USB analyzer. When I did not set CHAIN bit in LINK TRB, my host controller sent illegal packets sometimes. But, ZLPs were sent.

Re: spec violation of xHCI?

2013-12-12 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Thu, 12 Dec 2013 09:37:29 +0100 On 12/12/13 08:40, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Hi HPS, The endpoint type is BULK, and the direction is OUT. I checked by using a USB analyzer. When I did not set CHAIN bit in

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in xHCI_Specification_for_USB.pdf(Revision 1.0)? The following is an excerpt about the CHAIN ​​BIT. Chain bit

Re: spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in xHCI_Specification_for_USB.pdf(Revision 1.0)? The following is an excerpt about the CHAIN ​​BIT.

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 12:12, Kohji Okuno wrote: On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in xHCI_Specification_for_USB.pdf(Revision 1.0)? The following is an

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 13:44, Hans Petter Selasky wrote: On 12/11/13 12:12, Kohji Okuno wrote: On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to ``Table 126: Offset 0Ch – Link TRB Field Definitions'' in

Re: spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Wed, 11 Dec 2013 13:50:50 +0100 On 12/11/13 13:44, Hans Petter Selasky wrote: On 12/11/13 12:12, Kohji Okuno wrote: On 12/11/13 11:12, Kohji Okuno wrote: Hi, I think the xHCI host controller driver has a spec violation. Could you refer to

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/11/13 14:06, Kohji Okuno wrote: Hi HPS, All link trbs which are not the end need CHAIN bit, I think. But, this is errata in xHCI ver 0.95. So, linux has quirk for chain bit. Could you check linux codes? Regards, Kohji Okuno Hi Kohji, I went through the Linux codes a bit, and I see

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/12/13 01:59, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Date: Wed, 11 Dec 2013 15:04:42 +0100 On 12/11/13 14:06, Kohji Okuno wrote: Hi HPS, All link trbs which are not the end need CHAIN bit, I think. But, this is errata in xHCI ver 0.95. So, linux has quirk for

Re: spec violation of xHCI?

2013-12-11 Thread Kohji Okuno
From: Hans Petter Selasky h...@bitfrost.no Date: Thu, 12 Dec 2013 08:15:02 +0100 On 12/12/13 01:59, Kohji Okuno wrote: From: Hans Petter Selasky h...@bitfrost.no Date: Wed, 11 Dec 2013 15:04:42 +0100 On 12/11/13 14:06, Kohji Okuno wrote: Hi HPS, All link trbs which are not the end need

Re: spec violation of xHCI?

2013-12-11 Thread Hans Petter Selasky
On 12/12/13 08:15, Hans Petter Selasky wrote: On 12/12/13 01:59, Kohji Okuno wrote: Hi Kohji, Did you check using a USB analyzer what the difference is when setting the CHAIN bit and not setting the chain bit? I would guess that if you set the CHAIN-bit in this case, no ZLP will be sent,