Skip to contentSkip to conversation

kgdb core and rs232 I/O drivers

GIT PULL Jason Wessel 2 participants 2 messages Feb 9, 2008

lore
Share & tools
lore
#0 lore raw

The kgdb tree has been collapsed review. It includes the kgdb core, the x86 arch, the kgdb8250 uart driver and the kgdb console sharing driver.

Since the last time the kgdb patches were posted to LKML several months ago, the kgdb core has undergone some significant cleanup, as well as the kgdb I/O driver interface.

All the kgdb hooks are initialized dynamically only when a kgdb I/O module is configured. When not configured kgdb will not exist in any kernel execution path.

Further comments are certainly welcome.

Thanks,
Jason.

git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git for_linus

Ingo Molnar (1):
pid, kgdb: add pid_max prototype

Jason Wessel (7):
kgdb: core API and gdb protocol handler kgdb, modules: Always allow module sect info for KGDB
kgdb: COPTIMIZE flag
kgdb, x86: Add arch specfic kgdb support kgdb, sysrq_bugfix
kgdb: exclusive use kgdb8250 uart I/O driver
kgdb: kgdboc 8250 I/O module

 Documentation/DocBook/Makefile      |    2 +-
 Documentation/DocBook/kgdb.tmpl     |  214 ++++
 Documentation/kernel-parameters.txt |    5 +
 MAINTAINERS                         |    7 +
 Makefile                            |    8 +-
 arch/x86/kernel/Makefile            |    1 +
 arch/x86/kernel/kgdb.c              |  533 +++++++++
 arch/x86/kernel/setup_32.c          |    2 +
 arch/x86/kernel/setup_64.c          |    4 +
 arch/x86/kernel/traps_32.c          |   14 +-
 arch/x86/kernel/traps_64.c          |   17 +-
 drivers/char/keyboard.c             |    1 +
 drivers/char/tty_io.c               |    8 +
 drivers/serial/8250.c               |   91 ++
 drivers/serial/8250_kgdb.c          |  489 +++++++++
 drivers/serial/Kconfig              |    5 +-
 drivers/serial/Makefile             |    2 +
 drivers/serial/kgdboc.c             |  182 ++++
 drivers/serial/serial_core.c        |   89 ++-
 include/asm-generic/kgdb.h          |  105 ++
 include/asm-x86/kgdb.h              |   79 ++
 include/asm-x86/system.h            |    3 +
 include/linux/clocksource.h         |    1 +
 include/linux/kgdb.h                |  268 +++++
 include/linux/module.h              |    9 +-
 include/linux/pid.h                 |    2 +
 include/linux/sched.h               |    1 +
 include/linux/serial_8250.h         |    2 +
 include/linux/serial_core.h         |    4 +
 include/linux/tty_driver.h          |   11 +
 kernel/Makefile                     |    1 +
 kernel/kgdb.c                       | 2018 +++++++++++++++++++++++++++++++++++
 kernel/module.c                     |   34 +-
 kernel/sched.c                      |    3 +-
 kernel/softlockup.c                 |    7 +-
 kernel/sysctl.c                     |    2 +-
 kernel/time/clocksource.c           |   12 +
 lib/Kconfig.debug                   |    2 +
 lib/Kconfig.kgdb                    |   62 ++
 39 files changed, 4268 insertions(+), 32 deletions(-)
 create mode 100644 Documentation/DocBook/kgdb.tmpl
 create mode 100644 arch/x86/kernel/kgdb.c
 create mode 100644 drivers/serial/8250_kgdb.c
 create mode 100644 drivers/serial/kgdboc.c
 create mode 100644 include/asm-generic/kgdb.h
 create mode 100644 include/asm-x86/kgdb.h
 create mode 100644 include/linux/kgdb.h
 create mode 100644 kernel/kgdb.c
 create mode 100644 lib/Kconfig.kgdb
#1 lore raw
Quoted 9 lines · Jason Wessel

The kgdb tree has been collapsed review. It includes the kgdb core, the x86 arch, the kgdb8250 uart driver and the kgdb console sharing driver.

Since the last time the kgdb patches were posted to LKML several months ago, the kgdb core has undergone some significant cleanup, as well as the kgdb I/O driver interface.

Quoted 5 lines

All the kgdb hooks are initialized dynamically only when a kgdb I/O module is configured. When not configured kgdb will not exist in any kernel execution path.

Further comments are certainly welcome.

Any chance you could post actual patches for reviewing it?