summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/prom.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2013-07-01 06:19:50 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-07-02 00:20:49 +0200
commite2a800beaca1f580945773e57d1a0e7cd37b1056 (patch)
treebc7c89f204fbd0b2451fdb8d7b7fc5ca621add18 /arch/powerpc/kernel/prom.c
parentpowerpc/pseries: Support compression of oops text via pstore (diff)
downloadlinux-e2a800beaca1f580945773e57d1a0e7cd37b1056.tar.xz
linux-e2a800beaca1f580945773e57d1a0e7cd37b1056.zip
powerpc/hw_brk: Fix off by one error when validating DAWR region end
The Data Address Watchpoint Register (DAWR) on POWER8 can take a 512 byte range but this range must not cross a 512 byte boundary. Unfortunately we were off by one when calculating the end of the region, hence we were not allowing some breakpoint regions which were actually valid. This fixes this error. Signed-off-by: Michael Neuling <mikey@neuling.org> Reported-by: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> Cc: stable@vger.kernel.org # 3.9+ Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/prom.c')
0 files changed, 0 insertions, 0 deletions