linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Schnelle <svens@stackframe.org>
To: deller@gmx.de
Cc: linux-parisc@vger.kernel.org, Sven Schnelle <svens@stackframe.org>
Subject: [PATCH 0/3] Add KGDB support to parisc
Date: Tue,  2 Apr 2019 22:48:15 +0200	[thread overview]
Message-ID: <20190402204818.5929-1-svens@stackframe.org> (raw)

Hi,

these series add fixed mappings, a function to patch kernel text
with RO kernel text and kgdb support to parisc.

Fixed mappings are located at the end of the VMALLOC address range. patch_text()
is introduced based on the ARM implementation, which utilizies fixed mappings.
patch_text() only supports late patching, but we might extend it later with
early patching functionality. And last but not least the last patch adds KGDB
functionality. KGDB was tested on C3750 with a 32 and 64 bit kernel, on C8000
with 64 bit.

Sven Schnelle (3):
  parisc: add set_fixmap()/clear_fixmap()
  parisc: add parisc code patching
  parisc: add KGDB support

 arch/parisc/Kconfig              |   1 +
 arch/parisc/include/asm/fixmap.h |  19 ++-
 arch/parisc/include/asm/kgdb.h   |  68 ++++++++++
 arch/parisc/include/asm/patch.h  |   7 ++
 arch/parisc/kernel/Makefile      |   4 +-
 arch/parisc/kernel/kgdb.c        | 210 +++++++++++++++++++++++++++++++
 arch/parisc/kernel/patch.c       |  78 ++++++++++++
 arch/parisc/kernel/traps.c       |  15 +++
 arch/parisc/mm/Makefile          |   2 +-
 arch/parisc/mm/fixmap.c          |  43 +++++++
 arch/parisc/mm/init.c            |  14 ++-
 11 files changed, 453 insertions(+), 8 deletions(-)
 create mode 100644 arch/parisc/include/asm/kgdb.h
 create mode 100644 arch/parisc/include/asm/patch.h
 create mode 100644 arch/parisc/kernel/kgdb.c
 create mode 100644 arch/parisc/kernel/patch.c
 create mode 100644 arch/parisc/mm/fixmap.c

-- 
2.20.1


             reply	other threads:[~2019-04-02 20:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02 20:48 Sven Schnelle [this message]
2019-04-02 20:48 ` [PATCH 1/3] parisc: add set_fixmap()/clear_fixmap() Sven Schnelle
2019-04-02 20:48 ` [PATCH 2/3] parisc: add parisc code patching Sven Schnelle
2019-04-02 20:48 ` [PATCH 3/3] parisc: add KGDB support Sven Schnelle

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=20190402204818.5929-1-svens@stackframe.org \
    --to=svens@stackframe.org \
    --cc=deller@gmx.de \
    --cc=linux-parisc@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).