Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 1 | # |
| 2 | # Performance Monitor Drivers |
| 3 | # |
| 4 | |
| 5 | menu "Performance monitor support" |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 6 | depends on PERF_EVENTS |
Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 7 | |
Robin Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 8 | config ARM_CCI_PMU |
Robin Murphy | 8b0c93c | 2018-05-14 14:34:53 +0100 | [diff] [blame] | 9 | tristate "ARM CCI PMU driver" |
| 10 | depends on (ARM && CPU_V7) || ARM64 |
Robin Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 11 | select ARM_CCI |
Robin Murphy | 8b0c93c | 2018-05-14 14:34:53 +0100 | [diff] [blame] | 12 | 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 Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 17 | |
| 18 | config ARM_CCI400_PMU |
Robin Murphy | 8b0c93c | 2018-05-14 14:34:53 +0100 | [diff] [blame] | 19 | bool "support CCI-400" |
| 20 | default y |
| 21 | depends on ARM_CCI_PMU |
Robin Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 22 | select ARM_CCI400_COMMON |
Robin Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 23 | help |
Robin Murphy | 8b0c93c | 2018-05-14 14:34:53 +0100 | [diff] [blame] | 24 | CCI-400 provides 4 independent event counters counting events related |
| 25 | to the connected slave/master interfaces, plus a cycle counter. |
Robin Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 26 | |
| 27 | config ARM_CCI5xx_PMU |
Robin Murphy | 8b0c93c | 2018-05-14 14:34:53 +0100 | [diff] [blame] | 28 | bool "support CCI-500/CCI-550" |
| 29 | default y |
| 30 | depends on ARM_CCI_PMU |
Robin Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 31 | help |
Robin Murphy | 8b0c93c | 2018-05-14 14:34:53 +0100 | [diff] [blame] | 32 | 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 Murphy | 3de6be7 | 2018-02-15 18:51:42 +0000 | [diff] [blame] | 35 | |
Robin Murphy | 1888d3d | 2018-02-15 18:51:41 +0000 | [diff] [blame] | 36 | config 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 Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 43 | config ARM_PMU |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 44 | depends on ARM || ARM64 |
Mark Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 45 | 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 Rutland | 45736a7 | 2017-04-11 09:39:55 +0100 | [diff] [blame] | 51 | config ARM_PMU_ACPI |
| 52 | depends on ARM_PMU && ACPI |
| 53 | def_bool y |
| 54 | |
Suzuki K Poulose | 7520fa9 | 2018-01-02 11:25:33 +0000 | [diff] [blame] | 55 | config 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 Zhang | 6ce4ef9 | 2017-10-19 19:05:17 +0800 | [diff] [blame] | 64 | config 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 Leeder | 21bdbb7 | 2017-02-07 13:14:04 -0500 | [diff] [blame] | 71 | config QCOM_L2_PMU |
| 72 | bool "Qualcomm Technologies L2-cache PMU" |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 73 | depends on ARCH_QCOM && ARM64 && ACPI |
Neil Leeder | 21bdbb7 | 2017-02-07 13:14:04 -0500 | [diff] [blame] | 74 | 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-Frias | 3071f13 | 2017-03-31 14:13:43 -0400 | [diff] [blame] | 80 | config QCOM_L3_PMU |
| 81 | bool "Qualcomm Technologies L3-cache PMU" |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 82 | depends on ARCH_QCOM && ARM64 && ACPI |
Agustin Vega-Frias | 3071f13 | 2017-03-31 14:13:43 -0400 | [diff] [blame] | 83 | 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, Ganapatrao | 69c3297 | 2018-12-06 11:51:31 +0000 | [diff] [blame] | 90 | config 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 Nguyen | 832c927 | 2016-07-15 10:38:04 -0700 | [diff] [blame] | 99 | config XGENE_PMU |
Mark Rutland | bddb9b6 | 2017-06-13 13:45:51 +0100 | [diff] [blame] | 100 | depends on ARCH_XGENE |
Tai Nguyen | 832c927 | 2016-07-15 10:38:04 -0700 | [diff] [blame] | 101 | 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 Deacon | d5d9696 | 2016-09-22 11:36:32 +0100 | [diff] [blame] | 106 | config ARM_SPE_PMU |
| 107 | tristate "Enable support for the ARMv8.2 Statistical Profiling Extension" |
John Garry | b89205b | 2018-05-22 23:54:04 +0800 | [diff] [blame] | 108 | depends on ARM64 |
Will Deacon | d5d9696 | 2016-09-22 11:36:32 +0100 | [diff] [blame] | 109 | 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 Rutland | fa8ad78 | 2015-07-06 12:23:53 +0100 | [diff] [blame] | 114 | endmenu |