From: Dmitry Torokhov This should get rid of "spurious ACK" messages from atkbd driver during panic. Signed-off-by: Dmitry Torokhov Signed-off-by: Andrew Morton --- 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; _