diff options
| author | Kajol Jain <kjain@linux.ibm.com> | 2022-01-27 12:50:11 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-01 23:40:47 +1100 |
| commit | 02f02feb6b50c67171fd56bc3fd0fd96118c5c12 (patch) | |
| tree | 9aa9decc226432c942962c9bc721d823463af987 /lib/mpi/mpi-add.c | |
| parent | 9ee241f1b1447c7e8ca90902ab1888aa9e7a3c00 (diff) | |
selftests/powerpc/pmu/: Add interface test for mmcr3_src fields
The testcase uses event code 0x1340000001c040 to verify the settings for
different src fields in Monitor Mode Control Register 3 (MMCR3). Checks
if these fields are translated correctly via perf interface to MMCR3 on
ISA v3.1 platform.
Signed-off-by: Kajol Jain <kjain@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-20-kjain@linux.ibm.com
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
