summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-11-26 17:43:30 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2020-01-23 21:31:14 +1100
commita426ea9bb3889b3ce3bec52f2467c1becdcc330a (patch)
tree7f283a7dcd7ef1d3ba849f4795565861e4c7726b
parent39413ae009674c6ba745850515b551bbb9d6374b (diff)
downloadtalos-op-linux-a426ea9bb3889b3ce3bec52f2467c1becdcc330a.tar.gz
talos-op-linux-a426ea9bb3889b3ce3bec52f2467c1becdcc330a.zip
selftests/powerpc: Enable range tests on 8xx in ptrace-hwbreak.c selftest
8xx is now able to support any range length so range tests can be enabled. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/081e3b4e3a17a8ec9fdac46b505e3a29ca15f209.1574790198.git.christophe.leroy@c-s.fr
-rw-r--r--tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c b/tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c
index 7deedbc16b0b..fc477dfe86a2 100644
--- a/tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c
+++ b/tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c
@@ -455,9 +455,8 @@ run_tests(pid_t child_pid, struct ppc_debug_info *dbginfo, bool dawr)
if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) {
test_sethwdebug_exact(child_pid);
- if (!is_8xx)
- test_sethwdebug_range_aligned(child_pid);
- if (dawr && !is_8xx) {
+ test_sethwdebug_range_aligned(child_pid);
+ if (dawr || is_8xx) {
test_sethwdebug_range_unaligned(child_pid);
test_sethwdebug_range_unaligned_dar(child_pid);
test_sethwdebug_dawr_max_range(child_pid);
OpenPOWER on IntegriCloud