Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-11-05 Thread Bhavik Kothari
Hi Alan, I am again sending you the patch, --- a/linux-3.6.1/drivers/usb/core/hub.c2012-10-07 21:11:28.0 +0530 +++ b/linux-3.6.1/drivers/usb/core/hub.c2012-10-31 11:37:26.760917272 +0530 @@ -1078,6 +1078,12 @@ static void hub_activate(struct usb_hub

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-11-05 Thread Greg KH
On Mon, Nov 05, 2012 at 07:14:23PM +0530, Bhavik Kothari wrote: Hi Alan, I am again sending you the patch, --- a/linux-3.6.1/drivers/usb/core/hub.c 2012-10-07 21:11:28.0 +0530 +++ b/linux-3.6.1/drivers/usb/core/hub.c 2012-10-31 11:37:26.760917272 +0530 @@ -1078,6

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-11-02 Thread Sarah Sharp
On Thu, Oct 25, 2012 at 10:34:29AM -0400, Alan Stern wrote: On Thu, 25 Oct 2012, Ankit wrote: Hi Alan, Thanks for your response. Yes, there is a handling of PRC bit in xhci-hub.c Our query is, at the time of XHCI initialization (inserting xhci-hcd.ko and no USB device is

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-11-02 Thread Alan Stern
On Fri, 2 Nov 2012, Sarah Sharp wrote: On Thu, Oct 25, 2012 at 10:34:29AM -0400, Alan Stern wrote: On Thu, 25 Oct 2012, Ankit wrote: Hi Alan, Thanks for your response. Yes, there is a handling of PRC bit in xhci-hub.c Our query is, at the time of XHCI initialization

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-10-31 Thread Alan Stern
On Wed, 31 Oct 2012, Bhavik Kothari wrote: Hi Alan, Thanks for your inputs. As per your given instruction, we have modified a code and below is a patch, --- a/linux-3.6.1/drivers/usb/core/hub.c2012-10-07 21:11:28.0 +0530 +++ b/linux-3.6.1/drivers/usb/core/hub.c

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-10-30 Thread Alan Stern
On Tue, 30 Oct 2012, Bhavik Kothari wrote: Hi Alan, Please find attached patch file. We have made a patch file in Linux 3.6.1 version. Let us know your inputs. --- a/linux-3.6.1/drivers/usb/core/hub.c 2012-10-07 21:11:28.0 +0530 +++ b/linux-3.6.1/drivers/usb/core/hub.c

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-10-26 Thread Alan Stern
Always use Reply-To-All so that your messages get sent to the mailing list as well as to me. Also, please avoid top-posting. On Fri, 26 Oct 2012, Ankit wrote: Hi Alan, Sorry, earlier code was not proper. Below is a code (mark as Bold), which we have put in hub_activate(), Sorry, I

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-10-25 Thread Alan Stern
On Thu, 25 Oct 2012, Ankit wrote: Hi Alan, Thanks for your response. Yes, there is a handling of PRC bit in xhci-hub.c Our query is, at the time of XHCI initialization (inserting xhci-hcd.ko and no USB device is attached), is there PRC and CSC bits should be set? Our host controller

During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-10-23 Thread Ankit Patel
Hi, Whenever, software asserts, HC resets during xHCI initialization, host controller is setting PRC and CSC (one of the version of host controller sets WRC bit also). However, there is no handling of these bits in xHCI software. 1. At Initialization - device is NOT connected and due to HC

Re: During xHC Initialization (device is not connected), when HC-RESET is asserted, software is not expecting WRC or PRC bit set

2012-10-23 Thread Alan Stern
On Tue, 23 Oct 2012, Ankit Patel wrote: Hi, Whenever, software asserts, HC resets during xHCI initialization, host controller is setting PRC and CSC (one of the version of host controller sets WRC bit also). However, there is no handling of these bits in xHCI software. What do you mean