Files
linux/arch/arm/kernel
Douglas Anderson 2bb93af182 ARM: 8997/2: hw_breakpoint: Handle inexact watchpoint addresses
[ Upstream commit 22c9e58299 ]

This is commit fdfeff0f9e ("arm64: hw_breakpoint: Handle inexact
watchpoint addresses") but ported to arm32, which has the same
problem.

This problem was found by Android CTS tests, notably the
"watchpoint_imprecise" test [1].  I tested locally against a copycat
(simplified) version of the test though.

[1] https://android.googlesource.com/platform/bionic/+/master/tests/sys_ptrace_test.cpp

Link: https://lkml.kernel.org/r/20191019111216.1.I82eae759ca6dc28a245b043f485ca490e3015321@changeid

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-05 11:08:39 +01:00
..
2008-08-12 19:54:09 +01:00
2018-01-21 15:37:56 +00:00
2014-11-21 15:24:50 +00:00
2017-08-14 16:22:55 +01:00
2017-08-14 16:22:55 +01:00
2018-08-22 10:52:44 -07:00
2019-06-15 11:54:00 +02:00
2014-11-21 15:24:50 +00:00
2018-07-20 00:02:41 +02:00