]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Enable ptrace hw watchpoints on MIPS R6
authorJames Hogan <james.hogan@imgtec.com>
Tue, 1 Mar 2016 22:19:37 +0000 (22:19 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 9 May 2016 10:00:02 +0000 (12:00 +0200)
commitc5e94cad17a83ceec472d0f1addbac9fec0540f1
tree80dc925d1643ab0d98d181fafa3c7ffb649c3453
parenteb6b95933cad87f23cc2ca0d515d3fc45717b4ff
MIPS: Enable ptrace hw watchpoints on MIPS R6

HARDWARE_WATCHPOINTS isn't being enabled for CPU_MIPSR6, even though it
has an identical hardware watchpoint interface to CPU_MIPSR2, which
prevents ptrace watchpoints from being loaded when executing a ptraced
process even though the watchpoints are described in /proc/cpuinfo.

Enable HARDWARE_WATCHPOINTS for CPU_MIPSR6 too.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12727/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/Kconfig