lkml.org 
[lkml]   [2009]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] usb_debug: EXPERIMENTAL - poll hcd device to forcewrites
On Wed, 6 May 2009, Greg KH wrote:

> > If I want to printk from the nmi_watchdog out to this device, am I going
> > to get anything if the write is not synchronous, because in theory the
> > hcd device is never going to get accessed again?
>
> No you are not, sorry, USB doesn't work without interrupts in this kind
> of mode at all.

This really is an interesting point. Provided the hardware is
functioning correctly and enough free memory is available, Jason's
polling approach would indeed allow USB to work without interrupts --
to a limited extent, which is all one needs for console support.
Especially when the system has just crashed and you want to see that
final "oops" message...

Alan Stern



\
 
 \ /
  Last update: 2009-05-07 16:05    [W:0.094 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site