]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/watchpoint: Support for 8xx in ptrace-hwbreak.c selftest
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Thu, 17 Oct 2019 09:32:04 +0000 (15:02 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:04 +0000 (16:58 +1100)
commit6fd199a656f38579e4ffdb79680dfc9dccef600e
tree68f80187b4bc7da91c1ada39906e7b3aa3bed26e
parentb5785d0caa49cf3eda595c79b24e432705d56da3
powerpc/watchpoint: Support for 8xx in ptrace-hwbreak.c selftest

On the 8xx, signals are generated after executing the instruction. So
no need to manually single-step on 8xx. Also, 8xx __set_dabr()
currently ignores length and hardcodes the length to 8 bytes. So all
unaligned and 512 byte testcase will fail on 8xx. Ignore those
testcases on 8xx.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191017093204.7511-8-ravi.bangoria@linux.ibm.com
tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c