powerpc: BookE hardware watchpoint support
authorLuis Machado <luisgpm@linux.vnet.ibm.com>
Wed, 23 Jul 2008 16:10:41 +0000 (02:10 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 25 Jul 2008 05:44:39 +0000 (15:44 +1000)
commitd6a61bfc06d6f2248f3e75f208d64e794082013c
treed46aec6b68e30f9d7d9198bd9102fcf1c054ab7e
parent00bf6e906156b07cd641fe154ad0efe78f989692
powerpc: BookE hardware watchpoint support

This patch implements support for HW based watchpoint via the
DBSR_DAC (Data Address Compare) facility of the BookE processors.

It does so by interfacing with the existing DABR breakpoint code
and adding the necessary bits and pieces for the new bits to
be properly set or cleared

Signed-off-by: Luis Machado <luisgpm@br.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/process.c
arch/powerpc/kernel/ptrace.c
arch/powerpc/kernel/signal.c
arch/powerpc/kernel/traps.c
arch/powerpc/mm/fault.c
include/asm-powerpc/system.h