mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: linux-kernel@vger.kernel.org
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
Subject: [PATCH 0/3] kgdb 2.6.27 mips
Date: Fri, 18 Jul 2008 12:08:45 -0500	[thread overview]
Message-ID: <1216400928-29097-1-git-send-email-jason.wessel@windriver.com> (raw)

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

             reply	other threads:[~2008-07-18 17:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 17:08 Jason Wessel [this message]
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

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=1216400928-29097-1-git-send-email-jason.wessel@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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 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®