[Linux-Xtensa] [PATCH 0/3] xtensa: add support for hardware breakpoints/watchpoints

Max Filippov jcmvbkbc at gmail.com
Thu Mar 3 19:35:32 UTC 2016


Hi Chris,

this series adds support for hardware breakpoints and watchpoints. It also
cleans up unused bits related to KGDB and fixes DBREAKC initialization on
start. GDB-side patches will be posted soon.

Max Filippov (3):
  xtensa: clear all DBREAKC registers on start
  xtensa: remove remaining non-functional KGDB bits
  xtensa: support hardware breakpoints/watchpoints

 arch/xtensa/Kconfig                     |   1 +
 arch/xtensa/include/asm/hw_breakpoint.h |  56 ++++++++
 arch/xtensa/include/asm/irqflags.h      |   1 +
 arch/xtensa/include/asm/processor.h     |   5 +-
 arch/xtensa/include/asm/regs.h          |   3 +
 arch/xtensa/include/uapi/asm/ptrace.h   |   2 +
 arch/xtensa/kernel/Makefile             |   2 +-
 arch/xtensa/kernel/head.S               |   2 +-
 arch/xtensa/kernel/hw_breakpoint.c      | 235 ++++++++++++++++++++++++++++++++
 arch/xtensa/kernel/ptrace.c             | 163 +++++++++++++++++++++-
 arch/xtensa/kernel/traps.c              |  44 +++---
 11 files changed, 483 insertions(+), 31 deletions(-)
 create mode 100644 arch/xtensa/include/asm/hw_breakpoint.h
 create mode 100644 arch/xtensa/kernel/hw_breakpoint.c

-- 
2.1.4



More information about the linux-xtensa mailing list