blob: af9bc178495d799d9aa17a1e97119f12cb18882d [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
Suzuki K Poulose7520fa92018-01-02 11:25:33 +000055config ARM_DSU_PMU
56 tristate "ARM DynamIQ Shared Unit (DSU) PMU"
57 depends on ARM64
58 help
59 Provides support for performance monitor unit in ARM DynamIQ Shared
60 Unit (DSU). The DSU integrates one or more cores with an L3 memory
61 system, control logic. The PMU allows counting various events related
62 to DSU.
63
Shaokun Zhang6ce4ef92017-10-19 19:05:17 +080064config 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.
70
Neil Leeder21bdbb72017-02-07 13:14:04 -050071config QCOM_L2_PMU
72 bool "Qualcomm Technologies L2-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010073 depends on ARCH_QCOM && ARM64 && ACPI
Neil Leeder21bdbb72017-02-07 13:14:04 -050074 help
75 Provides support for the L2 cache performance monitor unit (PMU)
76 in Qualcomm Technologies processors.
77 Adds the L2 cache PMU into the perf events subsystem for
78 monitoring L2 cache events.
79
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040080config QCOM_L3_PMU
81 bool "Qualcomm Technologies L3-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010082 depends on ARCH_QCOM && ARM64 && ACPI
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040083 select QCOM_IRQ_COMBINER
84 help
85 Provides support for the L3 cache performance monitor unit (PMU)
86 in Qualcomm Technologies processors.
87 Adds the L3 cache PMU into the perf events subsystem for
88 monitoring L3 cache events.
89
Kulkarni, Ganapatrao69c32972018-12-06 11:51:31 +000090config THUNDERX2_PMU
91 tristate "Cavium ThunderX2 SoC PMU UNCORE"
92 depends on ARCH_THUNDER2 && ARM64 && ACPI && NUMA
93 default m
94 help
95 Provides support for ThunderX2 UNCORE events.
96 The SoC has PMU support in its L3 cache controller (L3C) and
97 in the DDR4 Memory Controller (DMC).
98
Tai Nguyen832c9272016-07-15 10:38:04 -070099config XGENE_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +0100100 depends on ARCH_XGENE
Tai Nguyen832c9272016-07-15 10:38:04 -0700101 bool "APM X-Gene SoC PMU"
102 default n
103 help
104 Say y if you want to use APM X-Gene SoC performance monitors.
105
Will Deacond5d96962016-09-22 11:36:32 +0100106config ARM_SPE_PMU
107 tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
John Garryb89205b2018-05-22 23:54:04 +0800108 depends on ARM64
Will Deacond5d96962016-09-22 11:36:32 +0100109 help
110 Enable perf support for the ARMv8.2 Statistical Profiling
111 Extension, which provides periodic sampling of operations in
112 the CPU pipeline and reports this via the perf AUX interface.
113
Mark Rutlandfa8ad782015-07-06 12:23:53 +0100114endmenu