aboutsummaryrefslogtreecommitdiffstats
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:09 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2022-03-01 23:40:26 +1100
commitac575b2606bf99a0d01a054196e24e1ad82c194d (patch)
treea24b58bcb1e1ff1cd8b38dbf5f3e1a0164d59f4a /tools/testing/selftests/powerpc/pmu/sampling_tests/Makefile
parentselftests/powerpc/pmu/: Add interface test for mmcr1_comb field (diff)
downloadlinux-dev-ac575b2606bf99a0d01a054196e24e1ad82c194d.tar.xz
linux-dev-ac575b2606bf99a0d01a054196e24e1ad82c194d.zip
selftests/powerpc/pmu/: Add interface test for mmcr2_l2l3 field
The testcases uses event code 0x010000046080 to verify the l2l3 bit setting for Monitor Mode Control Register 2 (MMCR2). check if this bit is set correctly via perf interface in ISA v3.1 platform. Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> [mpe: Add error checking, drop GET_MMCR_FIELD, add to .gitignore] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220127072012.662451-18-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 da87ffddc568..ec4c758e91a9 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
+ mmcr1_comb_test mmcr2_l2l3_test
top_srcdir = ../../../../../..
include ../../../lib.mk