Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/4] MIPS: Watchpoint fixes and cleanups
@ 2016-03-01 22:19 James Hogan
  2016-03-01 22:19 ` James Hogan
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: James Hogan @ 2016-03-01 22:19 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: James Hogan, Paul Burton, linux-mips

Patch 1 fixes watchpoint breakage since v4.3.

Patch 2 enables watchpoints in R6 kernels, where they are inadvertently
disabled.

Patches 3 and 4 are cosmetic cleanups, to replace magic numbers with
preprocessor definitions.

James Hogan (4):
  MIPS: Fix watchpoint restoration
  MIPS: Enable ptrace hw watchpoints on MIPS R6
  MIPS: Add and use CAUSEF_WP definition
  MIPS: Add and use watch register field definitions

 arch/mips/Kconfig                 |  2 +-
 arch/mips/include/asm/mipsregs.h  | 20 ++++++++++
 arch/mips/include/asm/switch_to.h |  2 +-
 arch/mips/include/asm/watch.h     | 10 ++---
 arch/mips/kernel/pm.c             |  2 +-
 arch/mips/kernel/ptrace.c         |  7 ++--
 arch/mips/kernel/traps.c          |  5 +--
 arch/mips/kernel/watch.c          | 79 +++++++++++++++++++++------------------
 8 files changed, 76 insertions(+), 51 deletions(-)

Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
-- 
2.4.10

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

end of thread, other threads:[~2016-03-01 22:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-01 22:19 [PATCH 0/4] MIPS: Watchpoint fixes and cleanups James Hogan
2016-03-01 22:19 ` James Hogan
2016-03-01 22:19 ` [PATCH 1/4] MIPS: Fix watchpoint restoration James Hogan
2016-03-01 22:19   ` James Hogan
2016-03-01 22:19 ` [PATCH 2/4] MIPS: Enable ptrace hw watchpoints on MIPS R6 James Hogan
2016-03-01 22:19   ` James Hogan
2016-03-01 22:19 ` [PATCH 3/4] MIPS: Add and use CAUSEF_WP definition James Hogan
2016-03-01 22:19   ` James Hogan
2016-03-01 22:19 ` [PATCH 4/4] MIPS: Add and use watch register field definitions James Hogan
2016-03-01 22:19   ` James Hogan
2016-03-01 22:27   ` David Daney

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