Re: question regarding delay between bus states in EHCI driver

2012-10-19 Thread Pavan Kondeti
On Thu, Oct 18, 2012 at 10:37 PM, Alan Stern wrote: > On Thu, 18 Oct 2012, Pavan Kondeti wrote: > >> Hi Alan, >> >> I have a theoretical question in EHCI driver. We ensure that there is >> 5 msec window between suspend and next resume by keeping time_before() >&g

question regarding delay between bus states in EHCI driver

2012-10-17 Thread Pavan Kondeti
Hi Alan, I have a theoretical question in EHCI driver. We ensure that there is 5 msec window between suspend and next resume by keeping time_before() check in ehci_bus_resume function. If the next_statechange update in suspend occur just before the next timer tick (say 1 jiffies = 10 msec), then t

Re: EHCI: iaa_watchdog_start() warning followed by NULL ptr dereference in start_unlink_async()

2012-09-12 Thread Pavan Kondeti
On 9/12/2012 6:29 PM, Alan Stern wrote: > On Wed, 12 Sep 2012, Pavan Kondeti wrote: > >> Thanks for your response. I and Hemant work together. We are thinking a >> scenario where this NULL dereference could happen. Please let us know if >> our understanding is correct or n

Re: EHCI: iaa_watchdog_start() warning followed by NULL ptr dereference in start_unlink_async()

2012-09-11 Thread Pavan Kondeti
Hi Alan Stern, On 9/12/2012 5:59 AM, Alan Stern wrote: > On Tue, 11 Sep 2012, Hemant Kumar wrote: > >> Hi >> >> I came across an issue where I see WARN_ON from iaa_watchdog_start() and >> after almost 10ms I see NULL ptr dereference in start_unlink_async() >> It happens exactly here >> prev

Re: [PATCH] EHCI: Update qTD next pointer in QH overlay region during unlink

2012-09-07 Thread Pavan Kondeti
On 9/7/2012 9:22 PM, Alan Stern wrote: > On Fri, 7 Sep 2012, Pavankumar Kondeti wrote: > >> There is a possibility of QH overlay region having reference to a stale >> qTD pointer during unlink. >> >> Consider an endpoint having two pending qTD before unlink process begins. >> The endpoint's QH que

Re: A question on EHCI unlink code

2012-09-06 Thread Pavan Kondeti
On 9/6/2012 10:57 PM, Alan Stern wrote: > On Thu, 6 Sep 2012, Pavan Kondeti wrote: > >> Hi >> >> I am debugging "EHCI host system error" (4.15.2.4) issue. The issue >> happens during unlinking of URB from an interface driver. In our system >> th

A question on EHCI unlink code

2012-09-05 Thread Pavan Kondeti
Hi I am debugging "EHCI host system error" (4.15.2.4) issue. The issue happens during unlinking of URB from an interface driver. In our system the device is always connected to the host. some interfaces are always active (I/O can happen). Other interface's I/O depends on the user space. if user op

Re:

2012-08-07 Thread Pavan Kondeti
On 8/7/2012 7:06 PM, pkond...@codeaurora.org wrote: > unsubscribe linux-usb > Sorry for the noise and spam :-( For some reason, I stopped receiving emails from this list. I am suggested to re-subscribe to the list. I end up sending unsubscribe request to wrong list. Every thing is good now. Than