mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] kgdb: x86: fix breakpoint removal problems
@ 2024-08-11 23:22 Florian Rommel
  2024-08-11 23:22 ` [PATCH 1/2] x86/kgdb: convert early breakpoints to poke breakpoints Florian Rommel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Florian Rommel @ 2024-08-11 23:22 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen,
	H . Peter Anvin, Jason Wessel, Daniel Thompson, Douglas Anderson,
	Lorena Kretzschmar, Stefan Saecherl, Peter Zijlstra,
	Christophe JAILLET, Randy Dunlap, Masami Hiramatsu,
	Andrew Morton, Christophe Leroy, Geert Uytterhoeven,
	kgdb-bugreport, x86, linux-kernel
  Cc: Florian Rommel

This series fixes two problems with KGDB on x86 concerning the removal
of breakpoints, causing the kernel to hang.  Note that breakpoint
removal is not only performed when explicitly deleting a breakpoint,
but also happens before continuing execution or single stepping.

Florian Rommel (2):
  x86/kgdb: convert early breakpoints to poke breakpoints
  x86/kgdb: fix hang on failed breakpoint removal

 arch/x86/kernel/kgdb.c    | 38 ++++++++++++++++++++++++++++++++++++++
 include/linux/kgdb.h      |  3 +++
 init/main.c               |  1 +
 kernel/debug/debug_core.c |  7 ++++++-
 4 files changed, 48 insertions(+), 1 deletion(-)

-- 
2.46.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-14  0:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-11 23:22 [PATCH 0/2] kgdb: x86: fix breakpoint removal problems Florian Rommel
2024-08-11 23:22 ` [PATCH 1/2] x86/kgdb: convert early breakpoints to poke breakpoints Florian Rommel
2024-08-11 23:22 ` [PATCH 2/2] x86/kgdb: fix hang on failed breakpoint removal Florian Rommel
2024-08-14  0:10 ` [PATCH 0/2] kgdb: x86: fix breakpoint removal problems Andrew Morton
2024-08-14  0:33   ` Florian Rommel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®