<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/tty/vt/keyboard.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-07-26T23:19:48Z</updated>
<entry>
<title>tty: Remove dead code</title>
<updated>2013-07-26T23:19:48Z</updated>
<author>
<name>Andreas Platschek</name>
</author>
<published>2013-07-26T04:46:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf940ebe98e693aec2d10f9af2fb84eb55234e3c'/>
<id>urn:sha1:cf940ebe98e693aec2d10f9af2fb84eb55234e3c</id>
<content type='text'>
-&gt; The ledptrs[] array is never initialized.
-&gt; There is no place where kbd-&gt;ledmode is set to LED_SHOW_MEM therefore the if
   statement does not make much sense.
-&gt; Since LED_SHOW_MEM is not used, it can be removed from the header file as well.

Signed-off-by: Andreas Platschek &lt;andi.platschek@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: switch tty_schedule_flip</title>
<updated>2013-01-16T06:43:15Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2013-01-03T14:53:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6732c8bb8671acbdac6cdc93dd72ddd581dd5e25'/>
<id>urn:sha1:6732c8bb8671acbdac6cdc93dd72ddd581dd5e25</id>
<content type='text'>
Now, we start converting tty buffer functions to actually use
tty_port. This will allow us to get rid of the need of tty in many
call sites. Only tty_port will needed and hence no more
tty_port_tty_get in those paths.

This is the last one: tty_schedule_flip

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: switch tty_insert_flip_char</title>
<updated>2013-01-16T06:21:36Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2013-01-03T14:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92a19f9cec9a80ad93c06e115822deb729e2c6ad'/>
<id>urn:sha1:92a19f9cec9a80ad93c06e115822deb729e2c6ad</id>
<content type='text'>
Now, we start converting tty buffer functions to actually use
tty_port. This will allow us to get rid of the need of tty in many
call sites. Only tty_port will needed and hence no more
tty_port_tty_get in those paths.

tty_insert_flip_char is the next one to proceed. This one is used all
over the code, so the patch is huge.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vt: fix the keyboard/led locking</title>
<updated>2012-07-17T16:13:37Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-07-17T16:06:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579'/>
<id>urn:sha1:3db1ddb725dcd9a2bb32be2b64d0688c3e1c4579</id>
<content type='text'>
We touch the LED from both keyboard callback and direct paths. In
one case we've got the lock held way up the call chain and in the
other we haven't. This leads to complete insanity so fix it by giving
the LED bits their own lock.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: keyboard.c: Remove locking from vt_get_leds.</title>
<updated>2012-07-06T21:28:17Z</updated>
<author>
<name>Christopher Brannon</name>
</author>
<published>2012-06-22T13:16:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=157a4b311c45c9aba75a990464d9680867dc8805'/>
<id>urn:sha1:157a4b311c45c9aba75a990464d9680867dc8805</id>
<content type='text'>
There are three call sites for this function, and all three
are called within a keyboard handler.
kbd_event_lock is already held within keyboard handlers,
so attempting to lock it in vt_get_leds causes deadlock.

Signed-off-by: Christopher Brannon &lt;chris@the-brannons.com&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: vt, remove con_schedule_flip</title>
<updated>2012-06-14T00:30:53Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-06-04T11:35:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c2ef53d3bfb36659c47ba589f35bcab24f425c7'/>
<id>urn:sha1:4c2ef53d3bfb36659c47ba589f35bcab24f425c7</id>
<content type='text'>
This is identical to tty_schedule_flip. So let us use that instead.

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip</title>
<updated>2012-05-23T18:16:40Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-05-23T18:16:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44bc40e1489622234169786b0ad5a1f4a01e1090'/>
<id>urn:sha1:44bc40e1489622234169786b0ad5a1f4a01e1090</id>
<content type='text'>
Pull x86 platform changes from Ingo Molnar:
 "This tree includes assorted platform driver updates and a preparatory
  series for a platform with custom DMA remapping semantics (sta2x11 I/O
  hub)."

* 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/vsmp: Fix number of CPUs when vsmp is disabled
  keyboard: Use BIOS Keyboard variable to set Numlock
  x86/olpc/xo1/sci: Report RTC wakeup events
  x86/olpc/xo1/sci: Produce wakeup events for buttons and switches
  x86, platform: Initial support for sta2x11 I/O hub
  x86: Introduce CONFIG_X86_DMA_REMAP
  x86-32: Introduce CONFIG_X86_DEV_DMA_OPS
</content>
</entry>
<entry>
<title>tty: Fix LED error return</title>
<updated>2012-05-14T17:43:24Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-05-14T13:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eea41aee2bfad4cf5c84e1cab8aa068c66206651'/>
<id>urn:sha1:eea41aee2bfad4cf5c84e1cab8aa068c66206651</id>
<content type='text'>
3.4-rc introduced a regression when setting the LEDS. We do the right thing
but then return an error code.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=43144
Reported-by: Christian Casteyde
Signed-off-by: Alan Cox &lt;alan@linux/intel.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>keyboard: Use BIOS Keyboard variable to set Numlock</title>
<updated>2012-05-08T21:19:41Z</updated>
<author>
<name>Joshua Cov</name>
</author>
<published>2012-04-13T19:08:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2d0b7a061bfddd27155c7dcd53f365d9dc0c7c3'/>
<id>urn:sha1:b2d0b7a061bfddd27155c7dcd53f365d9dc0c7c3</id>
<content type='text'>
The PC BIOS does provide a NUMLOCK flag containing the desired state
of this LED. This patch sets the current state according to the data
in the bios.

[ hpa: fixed __weak declaration without definition, changed "inline"
  to "static inline" ]

Signed-Off-By: Joshua Cov &lt;joshuacov@googlemail.com&gt;
Link: http://lkml.kernel.org/r/CAKL7Q7rvq87TNS1T_Km8fW_5OzS%2BSbYazLXKxW-6ztOxo3zorg@mail.gmail.com
Acked-by: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>vt: Fix deadlock on scroll-lock</title>
<updated>2012-05-01T18:01:28Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-05-01T15:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=84f904ecd3aa2ccb5779b815b69c1cb592f07bb5'/>
<id>urn:sha1:84f904ecd3aa2ccb5779b815b69c1cb592f07bb5</id>
<content type='text'>
Fixing the locking accidentally replaced a race in the scroll
lock handling with a deadlock. Turn it back into a race for
now.

The basic problem is that there are two paths into the tty
stop/start helpers. One via the tty layer ^S/^Q handling
where we need to take the kbd_event_lock and one via the
special keyboard handler for fn_hold where we already hold
it. Probably we need to split out into a separate LED lock
but for now just go back to the race as it's a bit close
to release.

Reported-by: Clemens Ladisch &lt;clemens@ladisch.de&gt;
Cc: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
