Skip to content

KGDB: Request to merge KGDB

Jason Wessel linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21KGDB: This is the core of the KGDB stub.Documentation/DocBook/Makefile Documentation/DocBook/kgdb.tmpl MAINTAINERS +7 more+2711 -10 replies
2/21KGDB: Add clocksource_touch_watchdoginclude/linux/clocksource.h kernel/kgdb.c kernel/time/clocksource.c+17 -00 replies
3/21KGDB: Soft lockup fixes to kgdb coreinclude/linux/kgdb.h kernel/kgdb.c kernel/softlockup.c+14 -00 replies
4/21KGDB: KGDB I/O driver for any 8250-compatible UARTs.drivers/serial/8250.c drivers/serial/8250_kgdb.c drivers/serial/Kconfig +4 more+620 -60 replies
5/21KGDB: Pass skb via NET_POLL rx routineinclude/linux/netpoll.h net/core/netpoll.c+3 -21 reply
6/21KGDB: This is the simple KGDB over Ethernet I/O driver that NET_POLLDocumentation/kernel-parameters.txt drivers/net/Makefile drivers/net/kgdboe.c +1 more+324 -01 reply
7/21KGDB: This adds the basic support for i386.arch/x86/kernel/Makefile_32 arch/x86/kernel/kgdb-jmp_32.S arch/x86/kernel/kgdb_32.c +6 more+442 -50 replies
8/21KGDB: This adds basic KGDB support for both arch/ppc and arch/powerpc.arch/powerpc/Kconfig.debug arch/powerpc/kernel/Makefile arch/powerpc/kernel/kgdb.c +59 more+1957 -14120 replies
9/21KGDB: This adds basic support to the MIPS architecturearch/mips/Kconfig arch/mips/Kconfig.debug arch/mips/au1000/common/Makefile +54 more+1384 -30161 reply
10/21KGDB: This is support of the IA64 arch for KGDBarch/ia64/kernel/Makefile arch/ia64/kernel/kgdb-jmp.S arch/ia64/kernel/kgdb.c +7 more+1253 -20 replies
11/21KGDB: This adds a call to notify_die()arch/x86/mm/fault_64.c include/asm-x86/kdebug_64.h+5 -00 replies
12/21KGDB: This adds support for the x86_64 architecture.arch/x86/kernel/Makefile_64 arch/x86/kernel/kgdb-jmp_64.S arch/x86/kernel/kgdb_64.c +5 more+514 -50 replies
13/21KGDB: This adds basic support for KGDB on SuperHDocumentation/DocBook/kgdb.tmpl arch/sh/Kconfig.debug arch/sh/kernel/Makefile +11 more+479 -12730 replies
14/21KGDB: KGDB arch support for ARMarch/arm/kernel/Makefile arch/arm/kernel/kgdb-jmp.S arch/arm/kernel/kgdb.c +18 more+689 -71 reply
15/21KGDB: Fix possibility of missing SysRq-Gdrivers/char/keyboard.c+1 -00 replies
16/21KGDB: This allows for KGDB to better deal with autoloaded modules.include/linux/module.h kernel/module.c+76 -03 replies
17/21KGDB: This adds hardware breakpoint support for i386.arch/x86/kernel/kgdb_32.c+121 -70 replies
18/21KGDB: This adds hardware breakpoint support for x86_64.arch/x86/kernel/kgdb_64.c+128 -170 replies
19/21KGDB: pad pt_regs on MIPS64 for function arguments in an exceptioninclude/asm-mips/ptrace.h+1 -10 replies
20/21KGDB: Add ability to unoptimize module compiles and dwarf2 asmMakefile+7 -20 replies
21/21KGDB: Turn off xmon if kgdb is active on ppc and powerpcarch/powerpc/Kconfig.debug arch/ppc/Kconfig.debug+2 -20 replies

Reviews trailers per patch

2 of 21 patches have a Reviewed-by or Acked-by.

PatchMatt Mackall
1/21
2/21
3/21
4/21
5/21A-b
6/21A-b
7/21
8/21
9/21
10/21
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/21] KGDB: Request to merge KGDB

This is a request to merge KGDB into the mainline kernel.

These KGDB patches are against the tip of kernel of the tree on October 15, 2007. I am continuing to update the for_mm branch against the tip of the tree with the hope to merge KGDB into the kernel, pending the review of the individual pieces.

http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=shortlog;h=for_mm

As of right now KGDB is comprised of 21 different patches adding in the core api and docs first and then working up to add drivers and arch specific support to KGDB. The patches were broken down into logical pieces for review and comments.

The intent of the KGDB patches is to unify the KGDB support across all the architectures that elect to implement it KGDB functionality by providing a common core and an arch specific stub. For quite some time there has been different features and uses of KGDB across the most popular architectures. Having a common core that takes care of protocol parsing and the typical use case of software breakpoints should eliminate the inconsistencies across the archs as well as making it easier to add KGDB support to a new arch.

These KGDB patches include support for KGDB over ethernet and unify the syntax and usage for setting up kgdb over rs232.

This series of KGDB patches covers the archs: i386, x86_64, ia64, arm, mips, sh, ppc and powerpc.

After the merge of this patch set, any other arch can implement KGDB support in the future by making use of the KGDB core by updating the kgdb kconfig file and creating the arch specific stub.

Thanks,
Jason