lkml.org 
[lkml]   [2004]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Why pass pt_regs throughout the input system?
On Wed, 12 May 2004 11:50:26 -0700 (PDT)
Dmitry Torokhov <dtor_core@ameritech.net> wrote:

> As far as multiple keyboards issue going - SysRq is a debug tool and
> I relly do not see you hitting SysRq on the two keyboards at the very
> same time to mess up the call traces.

Maybe to get two backtraces on two different cpus?
Be creative :-)

> Anyway, my "problem" is the following: SysRq register dump and call
> trace require keyboard.c event handler to be caled from hard interrupt
> context which is not always feasible.

USB handles this fine, and I seem to remember it does use tasklets.
You can save the pt_regs value at hardware interrupt and pass that
in during the tasklet run perhaps?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.032 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site