]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/vt-d: Clean up cpumask and hotplug for perfmon
authorKan Liang <kan.liang@linux.intel.com>
Fri, 2 Aug 2024 15:16:40 +0000 (08:16 -0700)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 10 Sep 2024 09:44:13 +0000 (11:44 +0200)
commita8c73b82f7792400555143773d0152d5bc3ac068
tree4082da39348275d8121d2efc4d337bade1fd07f9
parent08155c7f2a2cc6ff99886ea5743da274be24ebe4
iommu/vt-d: Clean up cpumask and hotplug for perfmon

The iommu PMU is system-wide scope, which is supported by the generic
perf_event subsystem now.

Set the scope for the iommu 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>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20240802151643.1691631-5-kan.liang@linux.intel.com
drivers/iommu/intel/iommu.h
drivers/iommu/intel/perfmon.c