hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/perf/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Performance Monitor Drivers
34 #
....@@ -40,6 +41,13 @@
4041 PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
4142 interconnect.
4243
44
+config ARM_CMN
45
+ tristate "Arm CMN-600 PMU support"
46
+ depends on ARM64 || (COMPILE_TEST && 64BIT)
47
+ help
48
+ Support for PMU events monitoring on the Arm CMN-600 Coherent Mesh
49
+ Network interconnect.
50
+
4351 config ARM_PMU
4452 depends on ARM || ARM64
4553 bool "ARM PMU framework"
....@@ -52,6 +60,15 @@
5260 depends on ARM_PMU && ACPI
5361 def_bool y
5462
63
+config ARM_SMMU_V3_PMU
64
+ tristate "ARM SMMUv3 Performance Monitors Extension"
65
+ depends on ARM64 && ACPI && ARM_SMMU_V3
66
+ help
67
+ Provides support for the ARM SMMUv3 Performance Monitor Counter
68
+ Groups (PMCG), which provide monitoring of transactions passing
69
+ through the SMMU and allow the resulting information to be filtered
70
+ based on the Stream ID of the corresponding master.
71
+
5572 config ARM_DSU_PMU
5673 tristate "ARM DynamIQ Shared Unit (DSU) PMU"
5774 depends on ARM64
....@@ -61,16 +78,18 @@
6178 system, control logic. The PMU allows counting various events related
6279 to DSU.
6380
64
-config HISI_PMU
65
- bool "HiSilicon SoC PMU"
66
- depends on ARM64 && ACPI
67
- help
68
- Support for HiSilicon SoC uncore performance monitoring
69
- unit (PMU), such as: L3C, HHA and DDRC.
81
+config FSL_IMX8_DDR_PMU
82
+ tristate "Freescale i.MX8 DDR perf monitor"
83
+ depends on ARCH_MXC
84
+ help
85
+ Provides support for the DDR performance monitor in i.MX8, which
86
+ can give information about memory throughput and other related
87
+ events.
7088
7189 config QCOM_L2_PMU
7290 bool "Qualcomm Technologies L2-cache PMU"
7391 depends on ARCH_QCOM && ARM64 && ACPI
92
+ select QCOM_KRYO_L2_ACCESSORS
7493 help
7594 Provides support for the L2 cache performance monitor unit (PMU)
7695 in Qualcomm Technologies processors.
....@@ -87,6 +106,15 @@
87106 Adds the L3 cache PMU into the perf events subsystem for
88107 monitoring L3 cache events.
89108
109
+config THUNDERX2_PMU
110
+ tristate "Cavium ThunderX2 SoC PMU UNCORE"
111
+ depends on ARCH_THUNDER2 && ARM64 && ACPI && NUMA
112
+ default m
113
+ help
114
+ Provides support for ThunderX2 UNCORE events.
115
+ The SoC has PMU support in its L3 cache controller (L3C) and
116
+ in the DDR4 Memory Controller (DMC).
117
+
90118 config XGENE_PMU
91119 depends on ARCH_XGENE
92120 bool "APM X-Gene SoC PMU"
....@@ -102,4 +130,6 @@
102130 Extension, which provides periodic sampling of operations in
103131 the CPU pipeline and reports this via the perf AUX interface.
104132
133
+source "drivers/perf/hisilicon/Kconfig"
134
+
105135 endmenu