Commit a426ea9b authored by Christophe Leroy's avatar Christophe Leroy Committed by Michael Ellerman

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: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/081e3b4e3a17a8ec9fdac46b505e3a29ca15f209.1574790198.git.christophe.leroy@c-s.fr
parent 39413ae0
...@@ -455,9 +455,8 @@ run_tests(pid_t child_pid, struct ppc_debug_info *dbginfo, bool dawr) ...@@ -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) { if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) {
test_sethwdebug_exact(child_pid); test_sethwdebug_exact(child_pid);
if (!is_8xx) test_sethwdebug_range_aligned(child_pid);
test_sethwdebug_range_aligned(child_pid); if (dawr || is_8xx) {
if (dawr && !is_8xx) {
test_sethwdebug_range_unaligned(child_pid); test_sethwdebug_range_unaligned(child_pid);
test_sethwdebug_range_unaligned_dar(child_pid); test_sethwdebug_range_unaligned_dar(child_pid);
test_sethwdebug_dawr_max_range(child_pid); test_sethwdebug_dawr_max_range(child_pid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment