blob: b8f44b068fc6a04aa71dd59bf2b24f24f53ecc25 [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
8config ARM_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +01009 depends on ARM || ARM64
Mark Rutlandfa8ad782015-07-06 12:23:53 +010010 bool "ARM PMU framework"
11 default y
12 help
13 Say y if you want to use CPU performance monitors on ARM-based
14 systems.
15
Mark Rutland45736a72017-04-11 09:39:55 +010016config ARM_PMU_ACPI
17 depends on ARM_PMU && ACPI
18 def_bool y
19
Shaokun Zhang6ce4ef92017-10-19 19:05:17 +080020config HISI_PMU
21 bool "HiSilicon SoC PMU"
22 depends on ARM64 && ACPI
23 help
24 Support for HiSilicon SoC uncore performance monitoring
25 unit (PMU), such as: L3C, HHA and DDRC.
26
Neil Leeder21bdbb72017-02-07 13:14:04 -050027config QCOM_L2_PMU
28 bool "Qualcomm Technologies L2-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010029 depends on ARCH_QCOM && ARM64 && ACPI
Neil Leeder21bdbb72017-02-07 13:14:04 -050030 help
31 Provides support for the L2 cache performance monitor unit (PMU)
32 in Qualcomm Technologies processors.
33 Adds the L2 cache PMU into the perf events subsystem for
34 monitoring L2 cache events.
35
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040036config QCOM_L3_PMU
37 bool "Qualcomm Technologies L3-cache PMU"
Mark Rutlandbddb9b62017-06-13 13:45:51 +010038 depends on ARCH_QCOM && ARM64 && ACPI
Agustin Vega-Frias3071f132017-03-31 14:13:43 -040039 select QCOM_IRQ_COMBINER
40 help
41 Provides support for the L3 cache performance monitor unit (PMU)
42 in Qualcomm Technologies processors.
43 Adds the L3 cache PMU into the perf events subsystem for
44 monitoring L3 cache events.
45
Tai Nguyen832c9272016-07-15 10:38:04 -070046config XGENE_PMU
Mark Rutlandbddb9b62017-06-13 13:45:51 +010047 depends on ARCH_XGENE
Tai Nguyen832c9272016-07-15 10:38:04 -070048 bool "APM X-Gene SoC PMU"
49 default n
50 help
51 Say y if you want to use APM X-Gene SoC performance monitors.
52
Will Deacond5d96962016-09-22 11:36:32 +010053config ARM_SPE_PMU
54 tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
55 depends on PERF_EVENTS && ARM64
56 help
57 Enable perf support for the ARMv8.2 Statistical Profiling
58 Extension, which provides periodic sampling of operations in
59 the CPU pipeline and reports this via the perf AUX interface.
60
Mark Rutlandfa8ad782015-07-06 12:23:53 +010061endmenu