aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAthira Rajeev <[email protected]>2022-06-10 19:11:01 +0530
committerMichael Ellerman <[email protected]>2022-06-29 08:57:44 +1000
commit5196a27978dcc74251eab14cffa8fa96813e0365 (patch)
tree56efbdfe4abf3a021b99f4918c6eb33abce49202 /tools/perf/scripts/python
parent122b6b9e57006520addd9f3a44f6b7e3ce503044 (diff)
selftests/powerpc/pmu: Add selftest for checking invalid bits in event code
Some of the bits in the event code is reserved for specific platforms. Event code bits 52-59 are reserved in power9, whereas in power10, these are used for programming Monitor Mode Control Register 3 (MMCR3). Bit 9 in event code is reserved in power9, whereas it is used for programming "radix_scope_qual" bit 18 in Monitor Mode Control Register 1 (MMCR1). Testcase to ensure that using reserved bits in event code should cause event_open to fail. Signed-off-by: Athira Rajeev <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions