Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Christophe Leroy and committed by
Michael Ellerman
a426ea9b 39413ae0

+2 -3
+2 -3
tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c
··· 455 455 if (dbginfo->features & PPC_DEBUG_FEATURE_DATA_BP_RANGE) { 456 456 test_sethwdebug_exact(child_pid); 457 457 458 - if (!is_8xx) 459 - test_sethwdebug_range_aligned(child_pid); 460 - if (dawr && !is_8xx) { 458 + test_sethwdebug_range_aligned(child_pid); 459 + if (dawr || is_8xx) { 461 460 test_sethwdebug_range_unaligned(child_pid); 462 461 test_sethwdebug_range_unaligned_dar(child_pid); 463 462 test_sethwdebug_dawr_max_range(child_pid);