summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2024-11-06 14:04:49 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2024-11-07 12:36:30 +0100
commit3b9bde403aafa55dcbe7dc250b95af917610f139 (patch)
tree7beba9b868f5912112ed3f1daa71f31857eb88ac /tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
parentpowerpc/ps3: Mark ps3_setup_uhc_device() __init (diff)
downloadlinux-3b9bde403aafa55dcbe7dc250b95af917610f139.tar.xz
linux-3b9bde403aafa55dcbe7dc250b95af917610f139.zip
selftests/powerpc: Lower run time of count_stcx_fail test
The count_stcx_fail test runs for close to or just over 2 minutes, which means it sometimes times out. That's overkill for a test that just demonstrates some PMU counters are working. Drop the 64 billion instruction case, to lower the runtime to ~30s. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://patch.msgid.link/20241106130453.1741013-1-mpe@ellerman.id.au
Diffstat (limited to 'tools/testing/selftests/powerpc/pmu/count_stcx_fail.c')
-rw-r--r--tools/testing/selftests/powerpc/pmu/count_stcx_fail.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
index 2070a1e2b3a5..d8dd9a9c6c1b 100644
--- a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
+++ b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c
@@ -144,9 +144,6 @@ static int test_body(void)
/* Run for 16Bi instructions */
FAIL_IF(do_count_loop(events, 16000000000, overhead, true));
- /* Run for 64Bi instructions */
- FAIL_IF(do_count_loop(events, 64000000000, overhead, true));
-
event_close(&events[0]);
event_close(&events[1]);