linux/tools/testing/selftests/powerpc/pmu
Benjamin Gray 6ff4dc2548 selftests/powerpc: Allow bind_to_cpu() to automatically pick CPU
All current users of bind_to_cpu() don't care _which_ CPU they get, just
that they are bound to a single free one. So alter the interface to

	1. Accept a BIND_CPU_ANY value that tells it to automatically
	   pick a CPU
	2. Return the picked CPU

And convert all these users to bind_to_cpu(BIND_CPU_ANY).

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230406043320.125138-4-bgray@linux.ibm.com
2023-04-20 13:21:45 +10:00
..
ebb selftests/powerpc: Allow bind_to_cpu() to automatically pick CPU 2023-04-20 13:21:45 +10:00
event_code_tests selftests/powerpc: Add missing PMU selftests to .gitignores 2022-08-15 20:59:17 +10:00
sampling_tests selftests/powerpc/pmu: Fix sample field check in the mmcra_thresh_marked_sample_test 2023-03-15 00:52:09 +11:00
.gitignore selftests/powerpc: Add a test of counting larx/stcx 2020-05-15 11:58:55 +10:00
branch_loops.S selftests/powerpc/pmu: Add interface test for mmcra_ifm field of indirect call type 2022-06-28 23:57:55 +10:00
count_instructions.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
count_stcx_fail.c selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
event.c selftests/powerpc/pmu: Add event_init_sampling function 2022-03-01 23:38:13 +11:00
event.h selftests/powerpc/pmu: Add event_init_sampling function 2022-03-01 23:38:13 +11:00
l3_bank_test.c selftests/powerpc: Skip L3 bank test on older CPUs 2020-09-08 22:24:08 +10:00
lib.c selftests/powerpc: Allow bind_to_cpu() to automatically pick CPU 2023-04-20 13:21:45 +10:00
lib.h selftests/powerpc: Move bind_to_cpu() to utils.h 2023-04-20 13:21:45 +10:00
loop.S selftests/powerpc: Add a test of counting larx/stcx 2020-05-15 11:58:55 +10:00
Makefile selftests/powerpc: Pass make context to children 2023-03-30 23:35:43 +11:00
per_event_excludes.c selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00