mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 19:12:29 -04:00
selftests/powerpc/pmu: Add interface test for mmcra register fields
The testcase uses event code 0x35340401e0 to verify the settings for different fields in Monitor Mode Control Register A (MMCRA). The fields include thresh_start, thresh_stop thresh_select, sdar mode, sample and marked bit. Checks if these fields are translated correctly via perf interface to MMCRA. 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-21-kjain@linux.ibm.com
This commit is contained in:
committed by
Michael Ellerman
parent
02f02feb6b
commit
29cf373c57
@@ -8,3 +8,4 @@ mmcr1_comb_test
|
||||
mmcr2_l2l3_test
|
||||
mmcr2_fcs_fch_test
|
||||
mmcr3_src_test
|
||||
mmcra_thresh_marked_sample_test
|
||||
|
||||
Reference in New Issue
Block a user