aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/cpuhotplug.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@linux.intel.com>2024-10-10 07:26:04 -0700
committerPeter Zijlstra <peterz@infradead.org>2024-10-30 22:42:19 +0100
commit9e9af8bbb5f9b565b9faf691f96f661791e199b0 (patch)
tree113439969d70f7535cee32a64ce7f66613340e66 /include/linux/cpuhotplug.h
parentperf/x86/rapl: Move the pmu allocation out of CPU hotplug (diff)
downloadwireguard-linux-9e9af8bbb5f9b565b9faf691f96f661791e199b0.tar.xz
wireguard-linux-9e9af8bbb5f9b565b9faf691f96f661791e199b0.zip
perf/x86/rapl: Clean up cpumask and hotplug
The rapl pmu is die scope, which is supported by the generic perf_event subsystem now. Set the scope for the rapl 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> Tested-by: Oliver Sang <oliver.sang@intel.com> Tested-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> Link: https://lore.kernel.org/r/20241010142604.770192-2-kan.liang@linux.intel.com
Diffstat (limited to '')
-rw-r--r--include/linux/cpuhotplug.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/cpuhotplug.h b/include/linux/cpuhotplug.h
index 2361ed4d2b15..37a9afffb59e 100644
--- a/include/linux/cpuhotplug.h
+++ b/include/linux/cpuhotplug.h
@@ -208,7 +208,6 @@ enum cpuhp_state {
CPUHP_AP_PERF_X86_UNCORE_ONLINE,
CPUHP_AP_PERF_X86_AMD_UNCORE_ONLINE,
CPUHP_AP_PERF_X86_AMD_POWER_ONLINE,
- CPUHP_AP_PERF_X86_RAPL_ONLINE,
CPUHP_AP_PERF_S390_CF_ONLINE,
CPUHP_AP_PERF_S390_SF_ONLINE,
CPUHP_AP_PERF_ARM_CCI_ONLINE,