mirror of
https://github.com/torvalds/linux.git
synced 2026-04-27 11:02:31 -04:00
selftests/powerpc/pmu: Add interface test for bhrb disable field
The testcase uses "instructions" event to generate the samples and fetch Monitor Mode Control Register A (MMCRA) when overflow. Branch History Rolling Buffer(bhrb) disable bit is part of MMCRA which need to be verified by perf interface. Testcase checks if the bhrb disable bit of MMCRA register is programmed correctly via perf interface for ISA v3.1 platform Also make get_mmcra_ifm return type as u64. Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220610134113.62991-9-atrajeev@linux.vnet.ibm.com
This commit is contained in:
committed by
Michael Ellerman
parent
014fb4a3ae
commit
84cc4e66d9
@@ -5,7 +5,8 @@ TEST_GEN_PROGS := mmcr0_exceptionbits_test mmcr0_cc56run_test mmcr0_pmccext_test
|
||||
mmcr0_pmcjce_test mmcr0_fc56_pmc1ce_test mmcr0_fc56_pmc56_test \
|
||||
mmcr1_comb_test mmcr2_l2l3_test mmcr2_fcs_fch_test \
|
||||
mmcr3_src_test mmcra_thresh_marked_sample_test mmcra_thresh_cmp_test \
|
||||
mmcra_bhrb_ind_call_test mmcra_bhrb_any_test mmcra_bhrb_cond_test
|
||||
mmcra_bhrb_ind_call_test mmcra_bhrb_any_test mmcra_bhrb_cond_test \
|
||||
mmcra_bhrb_disable_test
|
||||
|
||||
top_srcdir = ../../../../../..
|
||||
include ../../../lib.mk
|
||||
|
||||
Reference in New Issue
Block a user