Re: xhci handling ring expansion

2014-06-24 Thread vichy
hi David: 2014-06-18 22:33 GMT+08:00 David Laight : > From: vichy > ... >> and I get error message as >> platform-xhci: ERROR Transfer event TRB DMA ptr 483702160 not part of >> current TD >> platform-xhci: trb_comp_code = 0x1, event status -115, buffer >> 1cd4b590, len 100, flags 1038001 >>

RE: xhci handling ring expansion

2014-06-18 Thread David Laight
From: vichy ... > and I get error message as > platform-xhci: ERROR Transfer event TRB DMA ptr 483702160 not part of current > TD > platform-xhci: trb_comp_code = 0x1, event status -115, buffer > 1cd4b590, len 100, flags 1038001 > > that seems wired. > complete code is success and not short p

Re: xhci handling ring expansion

2014-06-18 Thread vichy
hi David: 2014-06-18 16:45 GMT+08:00 David Laight : > From: vichy >> hi david: > ... >> > From one of the patches (not applied) I sent last November ... >> > Include the unknown address when the DMA pointer from an event isn't part >> > of the current TD. This will happen if the error code is "TRB

RE: xhci handling ring expansion

2014-06-18 Thread David Laight
From: vichy > hi david: ... > > From one of the patches (not applied) I sent last November ... > > Include the unknown address when the DMA pointer from an event isn't part > > of the current TD. This will happen if the error code is "TRB error". > do you mean below patch? > http://markmail.org/m

Re: xhci handling ring expansion

2014-06-17 Thread vichy
hi david: 2014-06-17 23:50 GMT+08:00 David Laight : > From: vichy >> hi david: >> >> >> platform-xhci platform-xhci.0: ERROR no room on ep ring, try ring >> >> expansion >> >> platform-xhci platform-xhci.0: ring expansion succeed, now has 4 segments >> >> platform-xhci platform-xhci.0: ERROR Tra

RE: xhci handling ring expansion

2014-06-17 Thread David Laight
From: vichy > hi david: > > >> platform-xhci platform-xhci.0: ERROR no room on ep ring, try ring expansion > >> platform-xhci platform-xhci.0: ring expansion succeed, now has 4 segments > >> platform-xhci platform-xhci.0: ERROR Transfer event TRB DMA ptr not > >> part of current TD > >> > >> und

Re: xhci handling ring expansion

2014-06-17 Thread vichy
hi david: >> platform-xhci platform-xhci.0: ERROR no room on ep ring, try ring expansion >> platform-xhci platform-xhci.0: ring expansion succeed, now has 4 segments >> platform-xhci platform-xhci.0: ERROR Transfer event TRB DMA ptr not >> part of current TD >> >> under what circumstance the cont

RE: xhci handling ring expansion

2014-06-17 Thread David Laight
From: vichy > hi all: > I use kernel 3.8.0 > And when I plug in webcam in my platform xhci host, I get below message: > > platform-xhci platform-xhci.0: ERROR no room on ep ring, try ring expansion > platform-xhci platform-xhci.0: ring expansion succeed, now has 4 segments > platform-xhci platfor

Re: xhci handling ring expansion

2014-06-17 Thread vichy
hi Greg: 2014-06-17 22:25 GMT+08:00 Greg KH : > On Tue, Jun 17, 2014 at 10:07:38PM +0800, vichy wrote: >> hi all: >> I use kernel 3.8.0 > > That's a very old, and unsupported kernel version. I suggest you update Yes. it is pretty old kernel. But i have git diff the xhci-mem.c there is no log abo

Re: xhci handling ring expansion

2014-06-17 Thread Greg KH
On Tue, Jun 17, 2014 at 10:07:38PM +0800, vichy wrote: > hi all: > I use kernel 3.8.0 That's a very old, and unsupported kernel version. I suggest you update to something more "modern", especially for xhci issues as loads of them have been fixed since 3.8 was released. If you are stuck with 3.8