]> git.ipfire.org Git - thirdparty/linux.git/commit
perf/x86/intel/cstate: Clean up cpumask and hotplug
authorKan Liang <kan.liang@linux.intel.com>
Fri, 2 Aug 2024 15:16:39 +0000 (08:16 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 10 Sep 2024 09:44:13 +0000 (11:44 +0200)
commit08155c7f2a2cc6ff99886ea5743da274be24ebe4
tree93db86f4b2b241b099d1be19d5415901cbdaab0b
parenta48a36b316ae5d3ab83f9b545dba15998e96d59c
perf/x86/intel/cstate: Clean up cpumask and hotplug

There are three cstate PMUs with different scopes, core, die and module.
The scopes are supported by the generic perf_event subsystem now.

Set the scope for each PMU and remove all the cpumask and hotplug codes.

Signed-off-by: Kan Liang <kan.liang@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240802151643.1691631-4-kan.liang@linux.intel.com
arch/x86/events/intel/cstate.c
include/linux/cpuhotplug.h