diff options
| author | Athira Rajeev <[email protected]> | 2022-06-10 19:11:01 +0530 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-06-29 08:57:44 +1000 |
| commit | 5196a27978dcc74251eab14cffa8fa96813e0365 (patch) | |
| tree | 56efbdfe4abf3a021b99f4918c6eb33abce49202 /tools/perf/scripts/python | |
| parent | 122b6b9e57006520addd9f3a44f6b7e3ce503044 (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