All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org, trini@kernel.crashing.org,
	george@mvista.com
Subject: [patch 13/15] Minor SysRq keyboard bugfix for KGDB
Date: Fri, 29 Jul 2005 14:21:20 -0700	[thread overview]
Message-ID: <resend.13.2972005.trini@kernel.crashing.org> (raw)
In-Reply-To: <resend.12.2972005.trini@kernel.crashing.org>


CC: George Anzginer <george@mvista.com>
It is possible that when SysRq-G is triggered via the keyboard that we will
miss the "up" event and once KGDB lets the kernel go another SysRq will be
required to clear this, without this change.

---

 linux-2.6.13-rc3-trini/drivers/char/keyboard.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/char/keyboard.c~sysrq_bugfix drivers/char/keyboard.c
--- linux-2.6.13-rc3/drivers/char/keyboard.c~sysrq_bugfix	2005-07-29 11:55:34.000000000 -0700
+++ linux-2.6.13-rc3-trini/drivers/char/keyboard.c	2005-07-29 11:55:34.000000000 -0700
@@ -1070,6 +1070,7 @@ static void kbd_keycode(unsigned int key
 	}
 	if (sysrq_down && down && !rep) {
 		handle_sysrq(kbd_sysrq_xlate[keycode], regs, tty);
+		sysrq_down = 0;		/* In case we miss the 'up' event. */
 		return;
 	}
 #endif
_

  reply	other threads:[~2005-07-29 21:25 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1.2972005.trini@kernel.crashing.org>
2005-07-29 21:18 ` [patch 01/15] KGDB: Core files Tom Rini
2005-07-29 21:18   ` [patch 02/15] KGDB: i386 core functionality Tom Rini
2005-07-29 21:19     ` [patch 03/15] Basic PowerPC32 support Tom Rini
2005-07-29 21:19       ` [patch 04/15] I/O driver for 8250-compatible UARTs Tom Rini
2005-07-29 21:19         ` [patch 05/15] Basic MIPS support Tom Rini
2005-07-29 21:19           ` [patch 06/15] Basic IA64 support Tom Rini
2005-07-29 21:20             ` [patch 07/15] Basic x86_64 support Tom Rini
2005-07-29 21:20               ` [patch 08/15] Basic SuperH support Tom Rini
2005-07-29 21:20                 ` [patch 09/15] KGDB: Basic ARM support Tom Rini
2005-07-29 21:20                   ` [patch 10/15] Basic support for PowerPC64 Tom Rini
2005-07-29 21:20                     ` [patch 11/15] KGDB: KGDBoE I/O driver Tom Rini
2005-07-29 21:21                       ` [patch 12/15] KGDB: Add CFI DWARF2 annotation support Tom Rini
2005-07-29 21:21                         ` Tom Rini [this message]
2005-07-29 21:21                           ` [patch 14/15] Allow KGDB to work well with loaded modules Tom Rini
2005-07-29 21:21                             ` [patch 15/15] Add hardware breakpoint support for i386 Tom Rini
2005-08-04  0:55                       ` [patch 11/15] KGDB: KGDBoE I/O driver Matt Mackall
2005-08-03 13:05               ` [patch 07/15] Basic x86_64 support Andi Kleen
2005-08-03 13:37                 ` Tom Rini
2005-08-04 12:39                   ` Andi Kleen
2005-08-04 14:04                     ` Tom Rini
2005-08-04 14:06                       ` Andi Kleen
2005-08-04 14:14                         ` Tom Rini
2005-08-04 14:28                           ` Andi Kleen
2005-08-04 15:06                             ` Tom Rini
2005-08-04 18:56                               ` Andi Kleen
2005-08-04 19:08                                 ` Tom Rini
2005-08-07  0:48                     ` Keith Owens
2005-08-08 17:56                       ` Tom Rini
2005-08-01 10:19           ` [patch 05/15] Basic MIPS support Ralf Baechle
2005-08-01 10:24             ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=resend.13.2972005.trini@kernel.crashing.org \
    --to=trini@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=george@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.