linux/arch/x86/events/intel
Kan Liang bd9514a4d5 perf/x86/uncore: Ignore broken units in discovery table
Some units in a discovery table may be broken, e.g., UPI of SPR MCC.
A generic method is required to ignore the broken units.

Add uncore_units_ignore in the struct intel_uncore_init_fun, which
indicates the type ID of broken units. It will be assigned by the
platform-specific code later when the platform has a broken discovery
table.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: Michael Petlan <mpetlan@redhat.com>
Link: https://lore.kernel.org/r/20230112200105.733466-4-kan.liang@linux.intel.com
2023-01-21 00:06:12 +01:00
..
bts.c perf/x86: Add compiler barrier after updating BTS 2021-09-17 15:08:38 +02:00
core.c perf/core: Add perf_sample_save_brstack() helper 2023-01-18 11:57:20 +01:00
cstate.c perf/x86/cstate: Add Meteor Lake support 2023-01-09 12:22:08 +01:00
ds.c perf/core: Introduce perf_prepare_header() 2023-01-18 11:57:20 +01:00
knc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
lbr.c perf/x86/lbr: Simplify the exposure check for the LBR_INFO registers 2022-12-27 12:52:07 +01:00
Makefile perf/x86/intel/uncore: Parse uncore discovery tables 2021-04-02 10:04:54 +02:00
p4.c perf/x86: Make struct p4_event_bind::cntr signed array 2022-11-19 00:56:15 +01:00
p6.c x86/cpu: Rename cpu_data.x86_mask to cpu_data.x86_stepping 2018-02-15 01:15:52 +01:00
pt.c perf/x86/intel/pt: Fix sampling using single range output 2022-11-16 10:12:59 +01:00
pt.h perf/x86/intel/pt: Prevent redundant WRMSRs 2019-11-13 11:06:18 +01:00
uncore_discovery.c perf/x86/uncore: Ignore broken units in discovery table 2023-01-21 00:06:12 +01:00
uncore_discovery.h perf/x86/uncore: Ignore broken units in discovery table 2023-01-21 00:06:12 +01:00
uncore_nhmex.c perf/x86/intel/uncore: Correct fixed counter index check for NHM 2018-05-31 12:36:28 +02:00
uncore_snb.c perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box() 2022-11-24 11:09:26 +01:00
uncore_snbep.c perf/x86/uncore: Factor out uncore_device_to_die() 2023-01-21 00:06:11 +01:00
uncore.c perf/x86/uncore: Ignore broken units in discovery table 2023-01-21 00:06:12 +01:00
uncore.h perf/x86/uncore: Ignore broken units in discovery table 2023-01-21 00:06:12 +01:00