1 # SPDX-License-Identifier: GPL-2.0-only
3 # Performance Monitor Drivers
6 menu "Performance monitor support"
10 tristate "ARM CCI PMU driver"
11 depends on (ARM && CPU_V7) || ARM64
14 Support for PMU events monitoring on the ARM CCI (Cache Coherent
15 Interconnect) family of products.
17 If compiled as a module, it will be called arm-cci.
20 bool "support CCI-400"
22 depends on ARM_CCI_PMU
23 select ARM_CCI400_COMMON
25 CCI-400 provides 4 independent event counters counting events related
26 to the connected slave/master interfaces, plus a cycle counter.
29 bool "support CCI-500/CCI-550"
31 depends on ARM_CCI_PMU
33 CCI-500/CCI-550 both provide 8 independent event counters, which can
34 count events pertaining to the slave/master interfaces as well as the
35 internal events to the CCI.
38 tristate "ARM CCN driver support"
39 depends on ARM || ARM64
41 PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
45 depends on ARM || ARM64
46 bool "ARM PMU framework"
49 Say y if you want to use CPU performance monitors on ARM-based
53 depends on ARM_PMU && ACPI
56 config ARM_SMMU_V3_PMU
57 tristate "ARM SMMUv3 Performance Monitors Extension"
58 depends on ARM64 && ACPI && ARM_SMMU_V3
60 Provides support for the ARM SMMUv3 Performance Monitor Counter
61 Groups (PMCG), which provide monitoring of transactions passing
62 through the SMMU and allow the resulting information to be filtered
63 based on the Stream ID of the corresponding master.
66 tristate "ARM DynamIQ Shared Unit (DSU) PMU"
69 Provides support for performance monitor unit in ARM DynamIQ Shared
70 Unit (DSU). The DSU integrates one or more cores with an L3 memory
71 system, control logic. The PMU allows counting various events related
75 bool "HiSilicon SoC PMU"
76 depends on ARM64 && ACPI
78 Support for HiSilicon SoC uncore performance monitoring
79 unit (PMU), such as: L3C, HHA and DDRC.
82 bool "Qualcomm Technologies L2-cache PMU"
83 depends on ARCH_QCOM && ARM64 && ACPI
85 Provides support for the L2 cache performance monitor unit (PMU)
86 in Qualcomm Technologies processors.
87 Adds the L2 cache PMU into the perf events subsystem for
88 monitoring L2 cache events.
91 bool "Qualcomm Technologies L3-cache PMU"
92 depends on ARCH_QCOM && ARM64 && ACPI
93 select QCOM_IRQ_COMBINER
95 Provides support for the L3 cache performance monitor unit (PMU)
96 in Qualcomm Technologies processors.
97 Adds the L3 cache PMU into the perf events subsystem for
98 monitoring L3 cache events.
101 tristate "Cavium ThunderX2 SoC PMU UNCORE"
102 depends on ARCH_THUNDER2 && ARM64 && ACPI && NUMA
105 Provides support for ThunderX2 UNCORE events.
106 The SoC has PMU support in its L3 cache controller (L3C) and
107 in the DDR4 Memory Controller (DMC).
110 depends on ARCH_XGENE
111 bool "APM X-Gene SoC PMU"
114 Say y if you want to use APM X-Gene SoC performance monitors.
117 tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
120 Enable perf support for the ARMv8.2 Statistical Profiling
121 Extension, which provides periodic sampling of operations in
122 the CPU pipeline and reports this via the perf AUX interface.