blob: 28bb5a0295582a4ba809f5b55b9626fb95746732 [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
9 bool
10 select ARM_CCI
11
12config ARM_CCI400_PMU
13 bool "ARM CCI400 PMU support"
14 depends on (ARM && CPU_V7) || ARM64
15 select ARM_CCI400_COMMON
16 select ARM_CCI_PMU
17 help
18 Support for PMU events monitoring on the ARM CCI-400 (cache coherent
19 interconnect). CCI-400 supports counting events related to the
20 connected slave/master interfaces.
21
22config ARM_CCI5xx_PMU
23 bool "ARM CCI-500/CCI-550 PMU support"
24 depends on (ARM && CPU_V7) || ARM64
25 select ARM_CCI_PMU
26 help
27 Support for PMU events monitoring on the ARM CCI-500/CCI-550 cache
28 coherent interconnects. Both of them provide 8 independent event counters,
29 which can count events pertaining to the slave/master interfaces as well
30 as the internal events to the CCI.
31
32 If unsure, say Y
33
Robin Murphy1888d3d2018-02-15 18:51:41 +000034config ARM_CCN
35 tristate "ARM CCN driver support"
36 depends on ARM || ARM64
37 help
38 PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
39 interconnect.
40
Mark Rutlandfa8ad782015-07-06 12:23:53 +010041config ARM_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +010042 depends on ARM || ARM64
Mark Rutlandfa8ad782015-07-06 12:23:53 +010043 bool "ARM PMU framework"
44 default y
45 help
46 Say y if you want to use CPU performance monitors on ARM-based
47 systems.
48
Mark Rutland45736a72017-04-11 09:39:55 +010049config ARM_PMU_ACPI
50 depends on ARM_PMU && ACPI
51 def_bool y
52
Suzuki K Poulose7520fa92018-01-02 11:25:33 +000053config ARM_DSU_PMU
54 tristate "ARM DynamIQ Shared Unit (DSU) PMU"
55 depends on ARM64
56 help
57 Provides support for performance monitor unit in ARM DynamIQ Shared
58 Unit (DSU). The DSU integrates one or more cores with an L3 memory
59 system, control logic. The PMU allows counting various events related
60 to DSU.
61
Shaokun Zhang6ce4ef92017-10-19 19:05:17 +080062config HISI_PMU
63 bool "HiSilicon SoC PMU"
64 depends on ARM64 && ACPI
65 help
66 Support for HiSilicon SoC uncore performance monitoring
67 unit (PMU), such as: L3C, HHA and DDRC.
68
Neil Leeder21bdbb72017-02-07 13:14:04 -050069config QCOM_L2_PMU
70 bool "Qualcomm Technologies L2-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010071 depends on ARCH_QCOM && ARM64 && ACPI
Neil Leeder21bdbb72017-02-07 13:14:04 -050072 help
73 Provides support for the L2 cache performance monitor unit (PMU)
74 in Qualcomm Technologies processors.
75 Adds the L2 cache PMU into the perf events subsystem for
76 monitoring L2 cache events.
77
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040078config QCOM_L3_PMU
79 bool "Qualcomm Technologies L3-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010080 depends on ARCH_QCOM && ARM64 && ACPI
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040081 select QCOM_IRQ_COMBINER
82 help
83 Provides support for the L3 cache performance monitor unit (PMU)
84 in Qualcomm Technologies processors.
85 Adds the L3 cache PMU into the perf events subsystem for
86 monitoring L3 cache events.
87
Tai Nguyen832c9272016-07-15 10:38:04 -070088config XGENE_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +010089 depends on ARCH_XGENE
Tai Nguyen832c9272016-07-15 10:38:04 -070090 bool "APM X-Gene SoC PMU"
91 default n
92 help
93 Say y if you want to use APM X-Gene SoC performance monitors.
94
Will Deacond5d96962016-09-22 11:36:32 +010095config ARM_SPE_PMU
96 tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
97 depends on PERF_EVENTS && ARM64
98 help
99 Enable perf support for the ARMv8.2 Statistical Profiling
100 Extension, which provides periodic sampling of operations in
101 the CPU pipeline and reports this via the perf AUX interface.
102
Mark Rutlandfa8ad782015-07-06 12:23:53 +0100103endmenu