linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Add KGDB support to parisc
@ 2019-04-02 20:48 Sven Schnelle
  2019-04-02 20:48 ` [PATCH 1/3] parisc: add set_fixmap()/clear_fixmap() Sven Schnelle
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sven Schnelle @ 2019-04-02 20:48 UTC (permalink / raw)
  To: deller; +Cc: linux-parisc, Sven Schnelle

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


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

end of thread, other threads:[~2019-04-02 20:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-02 20:48 [PATCH 0/3] Add KGDB support to parisc Sven Schnelle
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

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).