diff options
author | Madhavan Srinivasan <maddy@linux.ibm.com> | 2022-01-27 12:50:09 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-03-01 23:40:26 +1100 |
commit | ac575b2606bf99a0d01a054196e24e1ad82c194d (patch) | |
tree | a24b58bcb1e1ff1cd8b38dbf5f3e1a0164d59f4a /tools/testing/fault-injection | |
parent | 2becea3b6acf308642d6c0e9bd41caf7820753f5 (diff) |
selftests/powerpc/pmu/: Add interface test for mmcr2_l2l3 field
The testcases uses event code 0x010000046080 to verify the l2l3 bit
setting for Monitor Mode Control Register 2 (MMCR2). check if this bit
is set correctly via perf interface in ISA v3.1 platform.
Signed-off-by: Madhavan Srinivasan <maddy@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-18-kjain@linux.ibm.com
Diffstat (limited to 'tools/testing/fault-injection')
0 files changed, 0 insertions, 0 deletions