Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1566649
| 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-25 15:40 +0100 |
| Message-ID | <t3wTT-2VB-9@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <t34Ei-1TK-15@gated-at.bofh.it> <t3ojD-63J-1@gated-at.bofh.it> <t3s3U-8nC-19@gated-at.bofh.it> <t3swW-6x-23@gated-at.bofh.it> <t3uS6-1Hz-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jan 25, 2017 at 08:27:38PM +0800, Lu Baolu wrote: > In my driver, udelay() is mostly used to handle time out. > > Xdbc hides most USB things in its firmware. Early printk driver only needs > to setup the registers/data structures and wait until link ready or time out. > Without udelay(), I have no means to convert the polling times into waiting > time. What is timeout and why? If there is an error other than !ready, I would expect the hardware to inform you of this through another status bit, no? So why can't you poll indefinitely for either ready or error?
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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