<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/mouse, branch v2.6.19.3</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/input/mouse?h=v2.6.19.3</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/input/mouse?h=v2.6.19.3'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2006-10-09T21:54:45Z</updated>
<entry>
<title>[PATCH] m68k/HP300: Enable HIL configuration options</title>
<updated>2006-10-09T21:54:45Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>geert@linux-m68k.org</email>
</author>
<published>2006-10-09T20:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=da96d0b58adddf3bdeaa9644ac74f0dcc9039407'/>
<id>urn:sha1:da96d0b58adddf3bdeaa9644ac74f0dcc9039407</id>
<content type='text'>
Enable HIL configuration options on HP300

Signed-off-by: Kars de Jong &lt;jongk@linux-m68k.org&gt;
Signed-off-by: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>Build fixes for struct pt_regs removal</title>
<updated>2006-10-07T02:47:23Z</updated>
<author>
<name>Matthew Wilcox</name>
<email>matthew@wil.cx</email>
</author>
<published>2006-10-07T02:47:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=be577a5220b25e0a6e3fbf96bbfc8b31d63e9ea9'/>
<id>urn:sha1:be577a5220b25e0a6e3fbf96bbfc8b31d63e9ea9</id>
<content type='text'>
Signed-off-by: Matthew Wilcox &lt;matthew@wil.cx&gt;
</content>
</entry>
<entry>
<title>IRQ: Maintain regs pointer globally rather than passing to IRQ handlers</title>
<updated>2006-10-05T14:10:12Z</updated>
<author>
<name>David Howells</name>
<email>dhowells@redhat.com</email>
</author>
<published>2006-10-05T13:55:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7d12e780e003f93433d49ce78cfedf4b4c52adc5'/>
<id>urn:sha1:7d12e780e003f93433d49ce78cfedf4b4c52adc5</id>
<content type='text'>
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 &lt;dhowells@redhat.com&gt;
(cherry picked from 1b16e7ac850969f38b375e511e3fa2f474a33867 commit)
</content>
</entry>
<entry>
<title>Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6</title>
<updated>2006-09-19T05:56:44Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@insightbb.com</email>
</author>
<published>2006-09-19T05:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0612ec48762bf8712db1925b2e67246d2237ebab'/>
<id>urn:sha1:0612ec48762bf8712db1925b2e67246d2237ebab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Input: constify psmouse driver</title>
<updated>2006-09-11T01:54:39Z</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2006-09-11T01:54:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e38de678f6b19be3e46a678ec4deeaa7fa0fc140'/>
<id>urn:sha1:e38de678f6b19be3e46a678ec4deeaa7fa0fc140</id>
<content type='text'>
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: psmouse - fix Intellimouse 4.0 initialization</title>
<updated>2006-08-23T04:48:03Z</updated>
<author>
<name>Pozsar Balazs</name>
<email>pozsy@uhulinux.hu</email>
</author>
<published>2006-08-23T04:48:03Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=90414be9523208f0b667fd58c22e26b8db0594de'/>
<id>urn:sha1:90414be9523208f0b667fd58c22e26b8db0594de</id>
<content type='text'>
Revert the superfluous initilization causing some mice become jumpy.

Signed-off-by: Pozsar Balazs &lt;pozsy@uhulinux.hu&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: logips2pp - add sugnature 56 (Cordless MouseMan Wheel), cleanup</title>
<updated>2006-08-09T03:37:18Z</updated>
<author>
<name>Helge Deller</name>
<email>deller@gmx.de</email>
</author>
<published>2006-08-09T03:37:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e3882bb56e31dbb3950e51c1ba914ef2f445650c'/>
<id>urn:sha1:e3882bb56e31dbb3950e51c1ba914ef2f445650c</id>
<content type='text'>
Signed-off-by: Helge Deller &lt;deller@gmx.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: trackpoint - activate protocol when resuming</title>
<updated>2006-08-05T02:52:26Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dtor@insightbb.com</email>
</author>
<published>2006-08-05T02:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=184dd2751c653a572c79c1fff969000b8880da40'/>
<id>urn:sha1:184dd2751c653a572c79c1fff969000b8880da40</id>
<content type='text'>
Trackpoint driver was not sending the magic knock sequence upon resume
causing incorrect device behavior after resuming from disk.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: logips2pp - fix button mapping for MX300</title>
<updated>2006-08-05T02:52:13Z</updated>
<author>
<name>Roberto Castagnola</name>
<email>roberto.castagnola@gmail.com</email>
</author>
<published>2006-08-05T02:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0c19fcd83793be248f8108a52f895c8d0034b182'/>
<id>urn:sha1:0c19fcd83793be248f8108a52f895c8d0034b182</id>
<content type='text'>
MX300 does not have an EXTRA_BTN - it is a simple wheel mouse with
an additional task-switcher button, which is reported as side button
(and not task button).

Signed-off-by: Daniel Drake &lt;dsd@gentoo.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>[PATCH] irq-flags: misc drivers: Use the new IRQF_ constants</title>
<updated>2006-07-02T20:58:50Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2006-07-02T02:29:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dace145374b8e39aeb920304c358ab5e220341ab'/>
<id>urn:sha1:dace145374b8e39aeb920304c358ab5e220341ab</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
</feed>
