Re: [1/5] xhci: Fix perceived dead host due to runtime suspend race with event handler

2018-07-11 Thread Kai-Heng Feng
Hi Mathias, at 21:19, Mathias Nyman wrote: Don't rely on event interrupt (EINT) bit alone to detect pending port change in resume. If no change event is detected the host may be suspended again, oterwise roothubs are resumed. There is a lag in xHC setting EINT. If we don't notice the pending

[PATCH 1/5] xhci: Fix perceived dead host due to runtime suspend race with event handler

2018-06-21 Thread Mathias Nyman
Don't rely on event interrupt (EINT) bit alone to detect pending port change in resume. If no change event is detected the host may be suspended again, oterwise roothubs are resumed. There is a lag in xHC setting EINT. If we don't notice the pending change in resume, and the controller is runtime