aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.ibm.com>2022-01-27 12:50:10 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-01 23:40:36 +1100
commit9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00 (patch)
treeca9979653fcf1bbde1029c9a71e6355d66c26210 /tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile
parentselftests/powerpc/pmu/: Add interface test for mmcr2_l2l3 field (diff)
downloadwireguard-linux-9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00.tar.xz
wireguard-linux-9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00.zip
selftests/powerpc/pmu/: Add interface test for mmcr2_fcs_fch fields
The testcases uses cycles event to verify the freeze counter settings in Monitor Mode Control Register 2 (MMCR2). Event modifier (exclude_kernel) setting is used for the event attribute to check the FCxS and FCxH ( Freeze counter in privileged and hypervisor state ) settings via perf interface. Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> [mpe: Add error checking, check MSR for MSR_HV, drop GET_MMCR_FIELD, add to .gitignore] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220127072012.662451-19-kjain@linux.ibm.com
Diffstat (limited to 'tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile')
-rw-r--r--tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile b/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile
index ec4c758e91a9..b4271509fe70 100644
--- a/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile
+++ b/tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile
@@ -3,7 +3,7 @@ CFLAGS += -m64
TEST_GEN_PROGS := mmcr0_exceptionbits_test mmcr0_cc56run_test mmcr0_pmccext_test \
mmcr0_pmcjce_test mmcr0_fc56_pmc1ce_test mmcr0_fc56_pmc56_test \
- mmcr1_comb_test mmcr2_l2l3_test
+ mmcr1_comb_test mmcr2_l2l3_test mmcr2_fcs_fch_test
top_srcdir = ../../../../../..
include ../../../lib.mk