diff options
author | Pratyush Anand <panand@redhat.com> | 2016-11-14 17:02:46 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-11-18 20:26:15 +0300 |
commit | f43365ee17f8d22b1f887d2b26faa0837ca85138 (patch) | |
tree | 52c02382ec335df4ab0cbac7206f3919c754b106 /tools/testing/selftests/breakpoints/.gitignore | |
parent | 0ddb8e0b784ba034f3096d5a54684d0d73155e2a (diff) | |
download | linux-f43365ee17f8d22b1f887d2b26faa0837ca85138.tar.xz |
selftests: arm64: add test for unaligned/inexact watchpoint handling
ARM64 hardware expects 64bit aligned address for watchpoint invocation.
However, it provides byte selection method to select any number of
consecutive byte set within the range of 1-8.
This patch adds support to test all such byte selection option for
different memory write sizes.
Patch also adds a test for handling the case when the cpu does not
report an address which exactly matches one of the regions we have
been watching (which is a situation permitted by the spec if an
instruction accesses both watched and unwatched regions). The test
was failing on a MSM8996pro before this patch series and is
passing now.
Signed-off-by: Pavel Labath <labath@google.com>
Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools/testing/selftests/breakpoints/.gitignore')
0 files changed, 0 insertions, 0 deletions