linux/tools/testing/selftests/powerpc
Kajol Jain 142c9bd1ff selftests/powerpc/pmu: Add selftest for group constraint for unit and pmc field in p9
Unit and pmu bits in the event code is used to program unit and pmc
fields in Monitor Mode Control Register 1 (MMCR1). For power9 platform,
incase unit field value is within 6 to 9, one of the event in the group
should use PMC4. Otherwise event_open should fail for that group.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220610134113.62991-33-atrajeev@linux.vnet.ibm.com
2022-06-29 08:57:45 +10:00
..
alignment selftests/powerpc: Suggest memtrace instead of /dev/mem for ci memory 2021-04-08 21:17:44 +10:00
benchmarks powerpc/selftests: Use gettid() instead of getppid() for null_syscall 2021-06-17 00:09:10 +10:00
cache_shape .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
copyloops selftests/powerpc/copyloops: Add memmove_64 test 2022-02-12 22:47:44 +11:00
dscr selftests/powerpc: Don't run DSCR tests on old systems 2020-09-08 22:24:02 +10:00
eeh selftests/powerpc: Add VF recovery tests 2021-01-31 22:35:47 +11:00
include selftests/powerpc/pmu: Refactor the platform check and add macros to find array size/PVR 2022-06-29 08:57:39 +10:00
lib treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
math selftests/powerpc: Add matrix multiply assist (MMA) test 2022-04-27 16:32:42 +10:00
mce selftests/powerpc: Add test for real address error handling 2022-03-08 00:04:59 +11:00
mm selftests/powerpc: Add a test of 4PB SLB handling 2022-04-29 13:43:22 +10:00
nx-gzip selftests/powerpc: Use req_max_processed_len from sysfs NX capabilities 2021-06-25 14:47:19 +10:00
papr_attributes selftests/powerpc: Skip energy_scale_info test on older firmware 2022-06-26 10:29:43 +10:00
pmu selftests/powerpc/pmu: Add selftest for group constraint for unit and pmc field in p9 2022-06-29 08:57:45 +10:00
primitives powerpc/bug: Provide better flexibility to WARN_ON/__WARN_FLAGS() with asm goto 2021-08-15 13:49:24 +10:00
ptrace selftests: Skip TM tests on synthetic TM implementations 2021-08-26 21:21:06 +10:00
scripts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
security selftests/powerpc/pmu: fix spelling mistake "mis-match" -> "mismatch" 2022-05-22 15:59:54 +10:00
signal selftests/powerpc: Add a test of sigreturning to an unaligned address 2021-12-25 10:56:05 +11:00
stringloops selftests/powerpc: Include asm/cputable.h from utils.h 2020-09-08 22:23:59 +10:00
switch_endian selftests/powerpc: Properly handle failure in switch_endian_test 2020-09-08 22:24:13 +10:00
syscalls selftests/powerpc: update .gitignore 2020-12-04 01:01:21 +11:00
tm selftests/powerpc: Add scv versions of the basic TM syscall tests 2021-09-13 22:34:11 +10:00
vphn .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
harness.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 191 2019-05-30 11:29:21 -07:00
Makefile selftest/powerpc: Add PAPR sysfs attributes sniff test 2022-03-08 00:05:00 +11:00
utils.c selftests/powerpc: Move set_dscr() into rfi_flush.c 2020-09-08 22:23:57 +10:00