summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorKan Liang2019-05-13 19:58:59 +0200
committerThomas Gleixner2019-05-23 10:08:35 +0200
commitcb63ba0f670df1f0ddf21c6cc4bbe74db398742c (patch)
tree9c0a7d16e69217f627121fc89fe2dbeab6264092 /drivers/thermal
parentperf/x86/intel/rapl: Support multi-die/package (diff)
downloadkernel-qcow2-linux-cb63ba0f670df1f0ddf21c6cc4bbe74db398742c.tar.gz
kernel-qcow2-linux-cb63ba0f670df1f0ddf21c6cc4bbe74db398742c.tar.xz
kernel-qcow2-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