blob: a94e586a58b2f6b854a938a0efc1d6f86d74c8bb [file] [log] [blame]
Mark Rutlandfa8ad782015-07-06 12:23:53 +01001#
2# Performance Monitor Drivers
3#
4
5menu "Performance monitor support"
Mark Rutlandbddb9b62017-06-13 13:45:51 +01006 depends on PERF_EVENTS
Mark Rutlandfa8ad782015-07-06 12:23:53 +01007
Robin Murphy3de6be72018-02-15 18:51:42 +00008config ARM_CCI_PMU
Robin Murphy8b0c93c2018-05-14 14:34:53 +01009 tristate "ARM CCI PMU driver"
10 depends on (ARM && CPU_V7) || ARM64
Robin Murphy3de6be72018-02-15 18:51:42 +000011 select ARM_CCI
Robin Murphy8b0c93c2018-05-14 14:34:53 +010012 help
13 Support for PMU events monitoring on the ARM CCI (Cache Coherent
14 Interconnect) family of products.
15
16 If compiled as a module, it will be called arm-cci.
Robin Murphy3de6be72018-02-15 18:51:42 +000017
18config ARM_CCI400_PMU
Robin Murphy8b0c93c2018-05-14 14:34:53 +010019 bool "support CCI-400"
20 default y
21 depends on ARM_CCI_PMU
Robin Murphy3de6be72018-02-15 18:51:42 +000022 select ARM_CCI400_COMMON
Robin Murphy3de6be72018-02-15 18:51:42 +000023 help
Robin Murphy8b0c93c2018-05-14 14:34:53 +010024 CCI-400 provides 4 independent event counters counting events related
25 to the connected slave/master interfaces, plus a cycle counter.
Robin Murphy3de6be72018-02-15 18:51:42 +000026
27config ARM_CCI5xx_PMU
Robin Murphy8b0c93c2018-05-14 14:34:53 +010028 bool "support CCI-500/CCI-550"
29 default y
30 depends on ARM_CCI_PMU
Robin Murphy3de6be72018-02-15 18:51:42 +000031 help
Robin Murphy8b0c93c2018-05-14 14:34:53 +010032 CCI-500/CCI-550 both provide 8 independent event counters, which can
33 count events pertaining to the slave/master interfaces as well as the
34 internal events to the CCI.
Robin Murphy3de6be72018-02-15 18:51:42 +000035
Robin Murphy1888d3d2018-02-15 18:51:41 +000036config ARM_CCN
37 tristate "ARM CCN driver support"
38 depends on ARM || ARM64
39 help
40 PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
41 interconnect.
42
Mark Rutlandfa8ad782015-07-06 12:23:53 +010043config ARM_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +010044 depends on ARM || ARM64
Mark Rutlandfa8ad782015-07-06 12:23:53 +010045 bool "ARM PMU framework"
46 default y
47 help
48 Say y if you want to use CPU performance monitors on ARM-based
49 systems.
50
Mark Rutland45736a72017-04-11 09:39:55 +010051config ARM_PMU_ACPI
52 depends on ARM_PMU && ACPI
53 def_bool y
54
Neil Leeder7d839b42019-03-26 15:17:51 +000055config ARM_SMMU_V3_PMU
56 tristate "ARM SMMUv3 Performance Monitors Extension"
57 depends on ARM64 && ACPI && ARM_SMMU_V3
58 help
59 Provides support for the ARM SMMUv3 Performance Monitor Counter
60 Groups (PMCG), which provide monitoring of transactions passing
61 through the SMMU and allow the resulting information to be filtered
62 based on the Stream ID of the corresponding master.
63
Suzuki K Poulose7520fa92018-01-02 11:25:33 +000064config ARM_DSU_PMU
65 tristate "ARM DynamIQ Shared Unit (DSU) PMU"
66 depends on ARM64
67 help
68 Provides support for performance monitor unit in ARM DynamIQ Shared
69 Unit (DSU). The DSU integrates one or more cores with an L3 memory
70 system, control logic. The PMU allows counting various events related
71 to DSU.
72
Shaokun Zhang6ce4ef92017-10-19 19:05:17 +080073config HISI_PMU
74 bool "HiSilicon SoC PMU"
75 depends on ARM64 && ACPI
76 help
77 Support for HiSilicon SoC uncore performance monitoring
78 unit (PMU), such as: L3C, HHA and DDRC.
79
Neil Leeder21bdbb72017-02-07 13:14:04 -050080config QCOM_L2_PMU
81 bool "Qualcomm Technologies L2-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010082 depends on ARCH_QCOM && ARM64 && ACPI
Neil Leeder21bdbb72017-02-07 13:14:04 -050083 help
84 Provides support for the L2 cache performance monitor unit (PMU)
85 in Qualcomm Technologies processors.
86 Adds the L2 cache PMU into the perf events subsystem for
87 monitoring L2 cache events.
88
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040089config QCOM_L3_PMU
90 bool "Qualcomm Technologies L3-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010091 depends on ARCH_QCOM && ARM64 && ACPI
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040092 select QCOM_IRQ_COMBINER
93 help
94 Provides support for the L3 cache performance monitor unit (PMU)
95 in Qualcomm Technologies processors.
96 Adds the L3 cache PMU into the perf events subsystem for
97 monitoring L3 cache events.
98
Kulkarni, Ganapatrao69c32972018-12-06 11:51:31 +000099config THUNDERX2_PMU
100 tristate "Cavium ThunderX2 SoC PMU UNCORE"
101 depends on ARCH_THUNDER2 && ARM64 && ACPI && NUMA
102 default m
103 help
104 Provides support for ThunderX2 UNCORE events.
105 The SoC has PMU support in its L3 cache controller (L3C) and
106 in the DDR4 Memory Controller (DMC).
107
Tai Nguyen832c9272016-07-15 10:38:04 -0700108config XGENE_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +0100109 depends on ARCH_XGENE
Tai Nguyen832c9272016-07-15 10:38:04 -0700110 bool "APM X-Gene SoC PMU"
111 default n
112 help
113 Say y if you want to use APM X-Gene SoC performance monitors.
114
Will Deacond5d96962016-09-22 11:36:32 +0100115config ARM_SPE_PMU
116 tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
John Garryb89205b2018-05-22 23:54:04 +0800117 depends on ARM64
Will Deacond5d96962016-09-22 11:36:32 +0100118 help
119 Enable perf support for the ARMv8.2 Statistical Profiling
120 Extension, which provides periodic sampling of operations in
121 the CPU pipeline and reports this via the perf AUX interface.
122
Mark Rutlandfa8ad782015-07-06 12:23:53 +0100123endmenu