public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kgdb 2.6.27 mips
@ 2008-07-18 17:08 Jason Wessel
  2008-07-18 17:08 ` [PATCH 1/3] kgdb, mips: Remove existing kgdb implementation Jason Wessel
  0 siblings, 1 reply; 12+ messages in thread
From: Jason Wessel @ 2008-07-18 17:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: ralf, linux-mips

This is a pretty significant change to kgdb mips in that it removes
the per board kgdb support to replace it with general kgdb
architecture support using the kernel's kgdb core architecture.

In the new model kgdb has no impact to the kernel's run time exceptions
or performance so long as no kgdb I/O driver is configured.

For boards that need specific uart drivers for kgdb, it should not be
too hard to add in kgdboc support as was done for the 8250 uart which
is supported by many of the mips specific boards already.

Jason Wessel (3):
      kgdb, mips: Remove existing kgdb implementation
      kgdb, mips: add arch support for the kernel's kgdb core
      kgdb, mips: pad pt_regs on MIPS64 for function arguments in an exception

 arch/mips/Kconfig                              |    7 +-
 arch/mips/Kconfig.debug                        |   22 -
 arch/mips/au1000/Kconfig                       |    1 -
 arch/mips/au1000/common/Makefile               |    1 -
 arch/mips/au1000/common/dbg_io.c               |  109 ---
 arch/mips/basler/excite/Makefile               |    1 -
 arch/mips/basler/excite/excite_dbg_io.c        |  121 ---
 arch/mips/basler/excite/excite_irq.c           |    7 -
 arch/mips/basler/excite/excite_setup.c         |    4 +-
 arch/mips/configs/db1000_defconfig             |    1 -
 arch/mips/configs/db1100_defconfig             |    1 -
 arch/mips/configs/db1200_defconfig             |    1 -
 arch/mips/configs/db1500_defconfig             |    1 -
 arch/mips/configs/db1550_defconfig             |    1 -
 arch/mips/configs/excite_defconfig             |    1 -
 arch/mips/configs/ip27_defconfig               |    1 -
 arch/mips/configs/msp71xx_defconfig            |    2 -
 arch/mips/configs/mtx1_defconfig               |    1 -
 arch/mips/configs/pb1100_defconfig             |    1 -
 arch/mips/configs/pb1500_defconfig             |    1 -
 arch/mips/configs/pb1550_defconfig             |    1 -
 arch/mips/configs/pnx8550-jbs_defconfig        |    4 +-
 arch/mips/configs/pnx8550-stb810_defconfig     |    4 +-
 arch/mips/configs/rbtx49xx_defconfig           |    1 -
 arch/mips/configs/sb1250-swarm_defconfig       |    1 -
 arch/mips/configs/yosemite_defconfig           |    2 -
 arch/mips/kernel/Makefile                      |    2 +-
 arch/mips/kernel/gdb-stub.c                    | 1155 ------------------------
 arch/mips/kernel/irq.c                         |   30 +-
 arch/mips/kernel/kgdb.c                        |  295 ++++++
 arch/mips/kernel/{gdb-low.S => kgdb_handler.S} |  161 ++---
 arch/mips/kernel/traps.c                       |    6 +
 arch/mips/mti-malta/Makefile                   |    1 -
 arch/mips/mti-malta/malta-init.c               |   54 --
 arch/mips/mti-malta/malta-kgdb.c               |  133 ---
 arch/mips/mti-malta/malta-setup.c              |    4 -
 arch/mips/nxp/pnx8550/common/Makefile          |    1 -
 arch/mips/nxp/pnx8550/common/gdb_hook.c        |  109 ---
 arch/mips/nxp/pnx8550/common/setup.c           |   12 -
 arch/mips/pmc-sierra/msp71xx/msp_serial.c      |   73 --
 arch/mips/pmc-sierra/yosemite/Makefile         |    1 -
 arch/mips/pmc-sierra/yosemite/dbg_io.c         |  180 ----
 arch/mips/pmc-sierra/yosemite/irq.c            |    9 -
 arch/mips/sgi-ip22/ip22-setup.c                |   24 -
 arch/mips/sgi-ip27/Makefile                    |    1 -
 arch/mips/sgi-ip27/ip27-dbgio.c                |   60 --
 arch/mips/sibyte/bcm1480/irq.c                 |   80 --
 arch/mips/sibyte/cfe/setup.c                   |   14 -
 arch/mips/sibyte/sb1250/irq.c                  |   60 --
 arch/mips/sibyte/swarm/Makefile                |    1 -
 arch/mips/sibyte/swarm/dbg_io.c                |   76 --
 arch/mips/txx9/Kconfig                         |    2 -
 arch/mips/txx9/generic/Makefile                |    1 -
 arch/mips/txx9/generic/dbgio.c                 |   48 -
 arch/mips/txx9/jmr3927/Makefile                |    1 -
 arch/mips/txx9/jmr3927/kgdb_io.c               |  105 ---
 include/asm-mips/asmmacro-32.h                 |   43 +
 include/asm-mips/asmmacro-64.h                 |   99 ++
 include/asm-mips/kgdb.h                        |   54 ++
 include/asm-mips/ptrace.h                      |    2 +-
 60 files changed, 569 insertions(+), 2626 deletions(-)
 delete mode 100644 arch/mips/au1000/common/dbg_io.c
 delete mode 100644 arch/mips/basler/excite/excite_dbg_io.c
 delete mode 100644 arch/mips/kernel/gdb-stub.c
 create mode 100644 arch/mips/kernel/kgdb.c
 rename arch/mips/kernel/{gdb-low.S => kgdb_handler.S} (68%)
 delete mode 100644 arch/mips/mti-malta/malta-kgdb.c
 delete mode 100644 arch/mips/nxp/pnx8550/common/gdb_hook.c
 delete mode 100644 arch/mips/pmc-sierra/yosemite/dbg_io.c
 delete mode 100644 arch/mips/sgi-ip27/ip27-dbgio.c
 delete mode 100644 arch/mips/sibyte/swarm/dbg_io.c
 delete mode 100644 arch/mips/txx9/generic/dbgio.c
 delete mode 100644 arch/mips/txx9/jmr3927/kgdb_io.c
 create mode 100644 include/asm-mips/kgdb.h

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

end of thread, other threads:[~2008-07-29  1:24 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18 17:08 [PATCH 0/3] kgdb 2.6.27 mips Jason Wessel
2008-07-18 17:08 ` [PATCH 1/3] kgdb, mips: Remove existing kgdb implementation Jason Wessel
2008-07-18 17:08   ` [PATCH 2/3] kgdb, mips: add arch support for the kernel's kgdb core Jason Wessel
2008-07-18 17:08     ` [PATCH 3/3] kgdb, mips: pad pt_regs on MIPS64 for function arguments in an exception Jason Wessel
2008-07-18 17:31     ` [PATCH 2/3] kgdb, mips: add arch support for the kernel's kgdb core Atsushi Nemoto
2008-07-18 17:50       ` Jason Wessel
2008-07-24 16:27     ` Atsushi Nemoto
2008-07-25  3:00       ` Jason Wessel
2008-07-25 14:52         ` Atsushi Nemoto
2008-07-28 14:05           ` Atsushi Nemoto
2008-07-28 18:50             ` Jason Wessel
2008-07-29  1:24               ` Atsushi Nemoto

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