diff options
| author | Athira Rajeev <atrajeev@linux.vnet.ibm.com> | 2022-01-27 12:50:07 +0530 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-01 23:40:16 +1100 |
| commit | 2becea3b6acf308642d6c0e9bd41caf7820753f5 (patch) | |
| tree | 01600ee7b7c18c81a754d498bb615247c83ff18d /lib/mpi/mpi-add.c | |
| parent | 6e11374b08723b2c43ae83bd5d48000d695f13a0 (diff) | |
selftests/powerpc/pmu/: Add interface test for mmcr1_comb field
The testcase uses event code "0x26880" to verify the settings for
different fields in Monitor Mode Control Register 1 (MMCR1). The field
include PMCxCOMB. Checks if this field are translated correctly via perf
interface to MMCR1
Add selftest for mmcr1 comb field.
Signed-off-by: Athira Rajeev <atrajeev@linux.vnet.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-16-kjain@linux.ibm.com
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions
