diff options
author | Kan Liang <kan.liang@linux.intel.com> | 2019-05-13 19:58:59 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-05-23 10:08:35 +0200 |
commit | cb63ba0f670df1f0ddf21c6cc4bbe74db398742c (patch) | |
tree | 9c0a7d16e69217f627121fc89fe2dbeab6264092 /drivers/thermal | |
parent | perf/x86/intel/rapl: Support multi-die/package (diff) | |
download | linux-cb63ba0f670df1f0ddf21c6cc4bbe74db398742c.tar.xz linux-cb63ba0f670df1f0ddf21c6cc4bbe74db398742c.zip |
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
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions