diff options
author | Ravi Bangoria <ravi.bangoria@linux.ibm.com> | 2021-04-12 16:52:15 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-23 01:38:03 +1000 |
commit | dae4ff8031b49af4721101d6298fc14cb9c16a4c (patch) | |
tree | 81f0fff0cb50f8a09dc89768c3abfee2685e01a5 /lib/packing.c | |
parent | 421a7483878cf3f356ebb871effe81997a45dda7 (diff) | |
download | linux-dae4ff8031b49af4721101d6298fc14cb9c16a4c.tar.bz2 |
powerpc/selftests/ptrace-hwbreak: Add testcases for 2nd DAWR
Message-ID: <20210412112218.128183-2-ravi.bangoria@linux.ibm.com> (raw)
Add selftests to test multiple active DAWRs with ptrace interface.
Sample o/p:
$ ./ptrace-hwbreak
...
PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DW ALIGNED, WO, len: 6: Ok
PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DW UNALIGNED, RO, len: 6: Ok
PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DAWR Overlap, WO, len: 6: Ok
PPC_PTRACE_SETHWDEBUG 2, MODE_RANGE, DAWR Overlap, RO, len: 6: Ok
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
[mpe: Fix build on older distros]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'lib/packing.c')
0 files changed, 0 insertions, 0 deletions