linux/arch/x86/events/intel
Kan Liang cb63ba0f67 perf/x86/intel/cstate: Support multi-die/package
Some cstate counters become die-scoped on Xeon Cascade Lake-AP. Perf cstate
driver needs to support die-scope cstate counters.

Use topology_die_cpumask() to replace topology_core_cpumask().  For
previous platforms which doesn't have multi-die, topology_die_cpumask() is
identical as topology_core_cpumask().  There is no functional change for
previous platforms.

Name the die-scope PMU "cstate_die".

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/acb5e483287280eeb2b6daabe04a600b85e72a78.1557769318.git.len.brown@intel.com
2019-05-23 10:08:35 +02:00
..
bts.c treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
core.c * ARM: support for SVE and Pointer Authentication in guests, PMU improvements 2019-05-17 10:33:30 -07:00
cstate.c perf/x86/intel/cstate: Support multi-die/package 2019-05-23 10:08:35 +02:00
ds.c perf/x86/intel: Add Icelake support 2019-04-16 12:26:18 +02: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: Avoid reading the LBRs when adaptive PEBS handles them 2019-04-16 12:26:17 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
p4.c x86: Fix various typos in comments 2018-12-03 10:49:13 +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: Remove software double buffering PMU capability 2019-05-03 12:46:20 +02:00
pt.h perf/x86/intel/pt: Export pt_cap_get() 2018-12-21 11:28:32 +01:00
rapl.c perf/x86/intel/rapl: Support multi-die/package 2019-05-23 10:08:35 +02: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: Add Intel Icelake uncore support 2019-04-16 12:26:19 +02:00
uncore_snbep.c perf/x86/intel/uncore: Add Node ID mask 2019-02-04 08:44:43 +01:00
uncore.c perf/x86/intel/uncore: Support multi-die/package 2019-05-23 10:08:35 +02:00
uncore.h perf/x86/intel/uncore: Add Intel Icelake uncore support 2019-04-16 12:26:19 +02:00