Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567292

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

From Peter Zijlstra <peterz@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability
Date 2017-01-26 11:30 +0100
Message-ID <t3Ptx-68L-43@gated-at.bofh.it> (permalink)
References (5 earlier) <t3wTT-2VB-9@gated-at.bofh.it> <t3y9k-3Do-25@gated-at.bofh.it> <t3ysF-403-7@gated-at.bofh.it> <t3J4J-2h2-5@gated-at.bofh.it> <t3MvD-4pB-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jan 26, 2017 at 08:19:37AM +0100, Ingo Molnar wrote:
> 
> * Lu Baolu <baolu.lu@linux.intel.com> 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?
> 
> I.e. if there's any polling component then it would be reasonable to add an error 
> component: poll the status and if it goes 'disconnected' then disable early-printk 
> altogether in this case and trigger an emergency printk() so that there's chance 
> that the user notices [if the system does not misbehave otherwise].

That'll be fun when printk() == early_printk() :-)

I myself wouldn't mind the system getting stuck until the link is
re-established. My own damn fault for taking that cable out etc.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-19 10:50 +0100
  Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-20 03:50 +0100
    Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-22 10:10 +0100
      Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-24 05:50 +0100
        Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-24 09:30 +0100
          Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-25 06:30 +0100
            Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-25 10:30 +0100
              Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Peter Zijlstra <peterz@infradead.org> - 2017-01-25 11:00 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-25 13:30 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Peter Zijlstra <peterz@infradead.org> - 2017-01-25 15:40 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-25 17:00 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Peter Zijlstra <peterz@infradead.org> - 2017-01-25 17:20 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-26 04:40 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-26 08:20 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-26 08:50 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-26 09:20 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Peter Zijlstra <peterz@infradead.org> - 2017-01-26 11:30 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-26 17:10 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Peter Zijlstra <peterz@infradead.org> - 2017-01-26 18:50 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-27 08:00 +0100
                Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Ingo Molnar <mingo@kernel.org> - 2017-01-26 08:30 +0100
              Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-25 13:20 +0100
              Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability Lu Baolu <baolu.lu@linux.intel.com> - 2017-01-26 04:30 +0100

csiph-web