]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Change hardware breakpoint to allow longer ranges
authorMichael Neuling <mikey@neuling.org>
Thu, 24 Jan 2013 15:02:59 +0000 (15:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 29 Jan 2013 00:35:08 +0000 (11:35 +1100)
commit3c10dc8fc1b4c96994eaad362905f2aa51e2f848
treee71928a561fc2db543e88211b6b0747c10abb9cd
parent91661398f6845b3011882a968bfe8b5710822ef4
powerpc: Change hardware breakpoint to allow longer ranges

Change the hardware breakpoint code so that we can support wider ranged
breakpoints.

This means both ptrace and perf hardware breakpoints can use upto 512 byte long
breakpoints when using the DAWR and only 8 byte when using the DABR.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/hw_breakpoint.h
arch/powerpc/kernel/hw_breakpoint.c