]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf/x86/rapl: Clean up cpumask and hotplug
authorKan Liang <kan.liang@linux.intel.com>
Thu, 10 Oct 2024 14:26:04 +0000 (07:26 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 30 Oct 2024 21:42:19 +0000 (22:42 +0100)
commit9e9af8bbb5f9b565b9faf691f96f661791e199b0
tree113439969d70f7535cee32a64ce7f66613340e66
parent9b99d65c0bb4e37013bc2ec9c32b78c5751ff952
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
arch/x86/events/rapl.c
include/linux/cpuhotplug.h