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
This commit is contained in:
Christophe Leroy 2019-11-26 17:43:30 +00:00 committed by Michael Ellerman
parent 39413ae009
commit a426ea9bb3
1 changed files with 2 additions and 3 deletions

View File

@ -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);