Re: [PATCH] fix __mod_timer vs __run_timers deadlock.

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

 



On Tue, 2005-05-03 at 11:51 -0700, David S. Miller wrote:
> On Tue, 3 May 2005 12:48:40 +1000
> Paul Mackerras <[email protected]> wrote:
> 
> > Juergen Kreileder writes:
> > 
> > > BTW, xmon doesn't work for me.  'echo x > /proc/sysrq-trigger' gives
> > > me a :mon> prompt but I can't enter any commands.
> > 
> > We don't have polled interrupts-off input methods for USB keyboards.
> 
> There is nothing in the USB nor INPUT layers really blocking an
> implementation of this BTW.
> 
> I need this on Sparc64 as well, so that PROM command line input
> works after booting with USB keyboards.

Nothing prevents it ? well, I wouldn't be that optimistic :) The USB
stuff is a bit complex, it inlcudes doing DMAs, so manipulating the
iommu, dealing with URB queues (and thus allocating/releasing them)
etc... and especially in the context of xmon, that mean letting the
driver do a lot of these at any time whatever state the system is...

So it's possible, but will probably be difficult and not very reliable.

An alternative is to take over the OHCI chip completely and implement a
micro-stack that only does interrupt pipe polling and hard decodes kbd
data based on a standard boot protocol layout... Handing the controller
back to normal USB operations may prove a bit difficult here though.

Ben.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux