From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752942AbdAZIRk (ORCPT ); Thu, 26 Jan 2017 03:17:40 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36802 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752374AbdAZIRi (ORCPT ); Thu, 26 Jan 2017 03:17:38 -0500 Date: Thu, 26 Jan 2017 09:17:33 +0100 From: Ingo Molnar To: Lu Baolu Cc: Peter Zijlstra , Greg Kroah-Hartman , Mathias Nyman , Ingo Molnar , tglx@linutronix.de, linux-usb@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, Jiri Slaby Subject: Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Message-ID: <20170126081733.GA22629@gmail.com> References: <5888377F.8090709@linux.intel.com> <20170125092355.GA24580@gmail.com> <20170125095736.GP6515@twins.programming.kicks-ass.net> <588899BA.7040108@linux.intel.com> <20170125143829.GS6515@twins.programming.kicks-ass.net> <5888C986.4020809@linux.intel.com> <20170125161644.GT6515@twins.programming.kicks-ass.net> <58896EFF.7030900@linux.intel.com> <20170126071937.GA3399@gmail.com> <5889A9FF.5080301@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5889A9FF.5080301@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Lu Baolu wrote: > Hi Ingo, > > On 01/26/2017 03:19 PM, Ingo Molnar wrote: > > * Lu Baolu wrote: > > > >> Fair enough. > >> > >> USB connection is stable enough, unless the user unplugs the > >> USB cable during debugging. > > What does the hardware do in this case? The XHCI registers are in the host > > hardware, so they won't disappear, right? Is there some cable connection status > > bit we can extract without interrupts? > > Yes, there are register bits for us to know the cable status. I will go > through the spec again and give you more accurate answer later. Ok, that's good news - so we don't really have to time out and we don't have to rely on the user holding the phone right either. > I'm sorry. I will be off during the next 7 days for Chinese New Year > holiday. My email access will be very limited during this time. I will > revisit this thread after I am back from holiday. > > Sorry for the inconvenience. No problem, have fun! Thanks, Ingo