linux/tools/testing/selftests/powerpc/pmu/sampling_tests
Haowen Bai a84ca704d8 selftests/powerpc/pmu: Fix unsigned function returning negative constant
The function __perf_reg_mask has an unsigned return type, but returns a
negative constant to indicate an error condition. So we change unsigned
to int.

Signed-off-by: Haowen Bai <baihaowen@meizu.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1650788802-14402-1-git-send-email-baihaowen@meizu.com
2022-04-26 13:17:00 +10:00
..
.gitignore selftests/powerpc/pmu: Add interface test for mmcra register fields 2022-03-01 23:40:58 +11:00
Makefile selftests/powerpc/pmu: Add interface test for mmcra register fields 2022-03-01 23:40:58 +11:00
misc.c selftests/powerpc/pmu: Fix unsigned function returning negative constant 2022-04-26 13:17:00 +10:00
misc.h selftests/powerpc/pmu: Add macro to extract mmcr3 and mmcra fields 2022-03-01 23:38:13 +11:00
mmcr0_cc56run_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_cc56run field 2022-03-01 23:39:09 +11:00
mmcr0_exceptionbits_test.c selftests/powerpc/pmu/: Add interface test for mmcr0 exception bits 2022-03-01 23:38:46 +11:00
mmcr0_fc56_pmc1ce_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_fc56 field using pmc1 2022-03-01 23:39:54 +11:00
mmcr0_fc56_pmc56_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_pmc56 using pmc5 2022-03-01 23:40:06 +11:00
mmcr0_pmccext_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_pmccext bit 2022-03-01 23:39:27 +11:00
mmcr0_pmcjce_test.c selftests/powerpc/pmu/: Add interface test for mmcr0_pmcjce field 2022-03-01 23:39:41 +11:00
mmcr1_comb_test.c selftests/powerpc/pmu/: Add interface test for mmcr1_comb field 2022-03-01 23:40:16 +11:00
mmcr2_fcs_fch_test.c selftests/powerpc/pmu/: Add interface test for mmcr2_fcs_fch fields 2022-03-01 23:40:36 +11:00
mmcr2_l2l3_test.c selftests/powerpc/pmu/: Add interface test for mmcr2_l2l3 field 2022-03-01 23:40:26 +11:00
mmcr3_src_test.c selftests/powerpc/pmu/: Add interface test for mmcr3_src fields 2022-03-01 23:40:47 +11:00
mmcra_thresh_marked_sample_test.c selftests/powerpc/pmu: Add interface test for mmcra register fields 2022-03-01 23:40:58 +11:00