+ input-i8042-disable-keyboard-port-when-panicking-and-blinking.patch added to -mm tree

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

 



The patch titled

     Input: i8042 - disable keyboard port when panicking and blinking

has been added to the -mm tree.  Its filename is

     input-i8042-disable-keyboard-port-when-panicking-and-blinking.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Input: i8042 - disable keyboard port when panicking and blinking
From: Dmitry Torokhov <dtor@xxxxxxxxxxxxx>

This should get rid of "spurious ACK" messages from atkbd driver during
panic.

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/input/serio/i8042.c |    7 +++++++
 1 file changed, 7 insertions(+)

diff -puN drivers/input/serio/i8042.c~input-i8042-disable-keyboard-port-when-panicking-and-blinking drivers/input/serio/i8042.c
--- a/drivers/input/serio/i8042.c~input-i8042-disable-keyboard-port-when-panicking-and-blinking
+++ a/drivers/input/serio/i8042.c
@@ -836,9 +836,16 @@ static long i8042_panic_blink(long count
 	 */
 	if (!i8042_blink_frequency)
 		return 0;
+
 	if (count - last_blink < i8042_blink_frequency)
 		return 0;
 
+	/*
+	 * Disable keyboard port so ATKBD won't fill logs with
+	 * "spurious ACK" messages
+	 */
+	i8042_ports[I8042_KBD_PORT_NO].exists = 0;
+
 	led ^= 0x01 | 0x04;
 	while (i8042_read_status() & I8042_STR_IBF)
 		DELAY;
_

Patches currently in -mm which might be from dtor@xxxxxxxxxxxxx are

git-acpi.patch
git-dvb.patch
git-input.patch
input-i8042-get-rid-of-polling-timer.patch
input-i8042-disable-keyboard-port-when-panicking-and-blinking.patch
ucb1x00-ts-handle-errors-from-input_register_device.patch


-- 
VGER BF report: H 2.81386e-05
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux