Re: [PATCH 5/5] usb_debug: EXPERIMENTAL - poll hcd device to forcewrites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux