History log of /linux/drivers/input/keyboard/locomokbd.c (Results 176 – 200 of 213)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4ad99f15 06-Oct-2006 Jeff Garzik <jeff@garzik.org>

Merge branch 'master' into upstream-fixes


# 44aefd27 06-Oct-2006 Linus Torvalds <torvalds@g5.osdl.org>

Merge git://git.infradead.org/~dhowells/irq-2.6

* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler

Merge git://git.infradead.org/~dhowells/irq-2.6

* git://git.infradead.org/~dhowells/irq-2.6:
IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
IRQ: Typedef the IRQ handler function type
IRQ: Typedef the IRQ flow handler function type

show more ...


# 7d12e780 05-Oct-2006 David Howells <dhowells@redhat.com>

IRQ: Maintain regs pointer globally rather than passing to IRQ handlers

Maintain a per-CPU global "struct pt_regs *" variable which can be used instead
of passing regs around manually through all ~1

IRQ: Maintain regs pointer globally rather than passing to IRQ handlers

Maintain a per-CPU global "struct pt_regs *" variable which can be used instead
of passing regs around manually through all ~1800 interrupt handlers in the
Linux kernel.

The regs pointer is used in few places, but it potentially costs both stack
space and code to pass it around. On the FRV arch, removing the regs parameter
from all the genirq function results in a 20% speed up of the IRQ exit path
(ie: from leaving timer_interrupt() to leaving do_IRQ()).

Where appropriate, an arch may override the generic storage facility and do
something different with the variable. On FRV, for instance, the address is
maintained in GR28 at all times inside the kernel as part of general exception
handling.

Having looked over the code, it appears that the parameter may be handed down
through up to twenty or so layers of functions. Consider a USB character
device attached to a USB hub, attached to a USB controller that posts its
interrupts through a cascaded auxiliary interrupt controller. A character
device driver may want to pass regs to the sysrq handler through the input
layer which adds another few layers of parameter passing.

I've build this code with allyesconfig for x86_64 and i386. I've runtested the
main part of the code on FRV and i386, though I can't test most of the drivers.
I've also done partial conversion for powerpc and MIPS - these at least compile
with minimal configurations.

This will affect all archs. Mostly the changes should be relatively easy.
Take do_IRQ(), store the regs pointer at the beginning, saving the old one:

struct pt_regs *old_regs = set_irq_regs(regs);

And put the old one back at the end:

set_irq_regs(old_regs);

Don't pass regs through to generic_handle_irq() or __do_IRQ().

In timer_interrupt(), this sort of change will be necessary:

- update_process_times(user_mode(regs));
- profile_tick(CPU_PROFILING, regs);
+ update_process_times(user_mode(get_irq_regs()));
+ profile_tick(CPU_PROFILING);

I'd like to move update_process_times()'s use of get_irq_regs() into itself,
except that i386, alone of the archs, uses something other than user_mode().

Some notes on the interrupt handling in the drivers:

(*) input_dev() is now gone entirely. The regs pointer is no longer stored in
the input_dev struct.

(*) finish_unlinks() in drivers/usb/host/ohci-q.c needs checking. It does
something different depending on whether it's been supplied with a regs
pointer or not.

(*) Various IRQ handler function pointers have been moved to type
irq_handler_t.

Signed-Off-By: David Howells <dhowells@redhat.com>
(cherry picked from 1b16e7ac850969f38b375e511e3fa2f474a33867 commit)

show more ...


Revision tags: v2.6.19-rc1, v2.6.18, v2.6.18-rc7, v2.6.18-rc6, v2.6.18-rc5, v2.6.18-rc4, v2.6.18-rc3, v2.6.18-rc2, v2.6.18-rc1
# 05668381 03-Jul-2006 Sam Ravnborg <sam@mars.ravnborg.org>

Merge branch 'master' of /home/sam/kernel/linux-2.6/


# 026477c1 03-Jul-2006 Trond Myklebust <Trond.Myklebust@netapp.com>

Merge branch 'master' of /home/trondmy/kernel/linux-2.6/


# 0a1340c1 03-Jul-2006 Steven Whitehouse <swhiteho@redhat.com>

Merge rsync://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6

Conflicts:

include/linux/kernel.h


# 22a3e233 01-Jul-2006 Linus Torvalds <torvalds@g5.osdl.org>

Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial

* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
Remove obsolete #include <linux/config.h>
remove obsolete swsusp_en

Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial

* git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial:
Remove obsolete #include <linux/config.h>
remove obsolete swsusp_encrypt
arch/arm26/Kconfig typos
Documentation/IPMI typos
Kconfig: Typos in net/sched/Kconfig
v9fs: do not include linux/version.h
Documentation/DocBook/mtdnand.tmpl: typo fixes
typo fixes: specfic -> specific
typo fixes in Documentation/networking/pktgen.txt
typo fixes: occuring -> occurring
typo fixes: infomation -> information
typo fixes: disadvantadge -> disadvantage
typo fixes: aquire -> acquire
typo fixes: mecanism -> mechanism
typo fixes: bandwith -> bandwidth
fix a typo in the RTC_CLASS help text
smb is no longer maintained

Manually merged trivial conflict in arch/um/kernel/vmlinux.lds.S

show more ...


# 6ab3d562 30-Jun-2006 Jörn Engel <joern@wohnheim.fh-wedel.de>

Remove obsolete #include <linux/config.h>

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>


Revision tags: v2.6.17, v2.6.17-rc6, v2.6.17-rc5, v2.6.17-rc4, v2.6.17-rc3, v2.6.17-rc2, v2.6.17-rc1, v2.6.16, v2.6.16-rc6, v2.6.16-rc5, v2.6.16-rc4, v2.6.16-rc3, v2.6.16-rc2, v2.6.16-rc1, v2.6.15, v2.6.15-rc7, v2.6.15-rc6
# 3d5271f9 06-Dec-2005 Len Brown <len.brown@intel.com>

Pull release into acpica branch


Revision tags: v2.6.15-rc5, v2.6.15-rc4, v2.6.15-rc3, v2.6.15-rc2
# a9931a6e 18-Nov-2005 Jody McIntyre <scjody@modernduck.com>

Merge with http://kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git


Revision tags: v2.6.15-rc1
# e532c378 11-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 3b621ee5 11-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 2f67bdb2 10-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# e82b3aec 09-Nov-2005 Steve French <sfrench@us.ibm.com>

Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git


# 8006fdd6 09-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# c7c6e949 09-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'upstream'


# a892acac 09-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 6b995751 08-Nov-2005 Jeff Garzik <jgarzik@pobox.com>

Merge branch 'master'


# 24bfb001 08-Nov-2005 Paul Mackerras <paulus@samba.org>

Merge ../linux-2.6


# 407cf84f 07-Nov-2005 Linus Torvalds <torvalds@g5.osdl.org>

Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/input


# d7a767dd 03-Nov-2005 Pavel Machek <pavel@suse.cz>

Input: locomokbd - fix wrong bustype

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>


# 438c9da5 03-Nov-2005 Dmitry Torokhov <dtor_core@ameritech.net>

Input: locomokbd - convert to dynamic input allocation

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>


Revision tags: v2.6.14, v2.6.14-rc5, v2.6.14-rc4, v2.6.14-rc3, v2.6.14-rc2, v2.6.14-rc1
# c1b054d0 29-Aug-2005 Jeff Garzik <jgarzik@pobox.com>

Merge /spare/repo/linux-2.6/


# 2fca877b 29-Aug-2005 Jeff Garzik <jgarzik@pobox.com>

/spare/repo/libata-dev branch 'v2.6.13'


Revision tags: v2.6.13, v2.6.13-rc7
# a8b3e6f1 18-Aug-2005 Dave Jones <davej@redhat.com>

Merge /pub/scm/linux/kernel/git/torvalds/linux-2.6


123456789