RE: [Intel-linux-usb] RE: One question about Linux xHCI driver

2014-06-19 Thread Alan Stern
On Thu, 19 Jun 2014, Wang, Yu Y wrote: I'm not sure of the right way to solve this problem. Probably xhci_resume() should check the root-hub statuses to see if either root hub really needs to be resumed before calling usb_hcd_resume_root_hub(); I think that will work. [Yu:] I

RE: [Intel-linux-usb] RE: One question about Linux xHCI driver

2014-06-19 Thread Wang, Yu Y
On Thu, 19 Jun 2014, Wang, Yu Y wrote: I'm not sure of the right way to solve this problem. Probably xhci_resume() should check the root-hub statuses to see if either root hub really needs to be resumed before calling usb_hcd_resume_root_hub(); I think that will work. [Yu:] I

Re: [Intel-linux-usb] RE: One question about Linux xHCI driver

2014-06-18 Thread Mathias Nyman
On 06/17/2014 05:17 AM, Wang, Yu Y wrote: Hi All, I have one question about Linux xHCI driver. Need your help to introduce more backgrounds. About the S3 flow: 1, Freeze all user processes. 2, Freeze all kernel threads (including workqueue thread). 3, Trying to suspend all devices.

Re: [Intel-linux-usb] RE: One question about Linux xHCI driver

2014-06-18 Thread Alan Stern
On Wed, 18 Jun 2014, Mathias Nyman wrote: On 06/17/2014 05:17 AM, Wang, Yu Y wrote: Hi All, I have one question about Linux xHCI driver. Need your help to introduce more backgrounds. About the S3 flow: 1, Freeze all user processes. 2, Freeze all kernel threads (including

RE: [Intel-linux-usb] RE: One question about Linux xHCI driver

2014-06-18 Thread Wang, Yu Y
On Wed, 18 Jun 2014, Mathias Nyman wrote: On 06/17/2014 05:17 AM, Wang, Yu Y wrote: Hi All, I have one question about Linux xHCI driver. Need your help to introduce more backgrounds. About the S3 flow: 1, Freeze all user processes. 2, Freeze all kernel threads (including