Kconfig 4.7 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2 3 4 5 6
#
# Performance Monitor Drivers
#

menu "Performance monitor support"
7
	depends on PERF_EVENTS
8

R
Robin Murphy 已提交
9
config ARM_CCI_PMU
10 11
	tristate "ARM CCI PMU driver"
	depends on (ARM && CPU_V7) || ARM64
R
Robin Murphy 已提交
12
	select ARM_CCI
13 14 15 16 17
	help
	  Support for PMU events monitoring on the ARM CCI (Cache Coherent
	  Interconnect) family of products.

	  If compiled as a module, it will be called arm-cci.
R
Robin Murphy 已提交
18 19

config ARM_CCI400_PMU
20 21 22
	bool "support CCI-400"
	default y
	depends on ARM_CCI_PMU
R
Robin Murphy 已提交
23 24
	select ARM_CCI400_COMMON
	help
25 26
	  CCI-400 provides 4 independent event counters counting events related
	  to the connected slave/master interfaces, plus a cycle counter.
R
Robin Murphy 已提交
27 28

config ARM_CCI5xx_PMU
29 30 31
	bool "support CCI-500/CCI-550"
	default y
	depends on ARM_CCI_PMU
R
Robin Murphy 已提交
32
	help
33 34 35
	  CCI-500/CCI-550 both provide 8 independent event counters, which can
	  count events pertaining to the slave/master interfaces as well as the
	  internal events to the CCI.
R
Robin Murphy 已提交
36

37 38
config ARM_CCN
	tristate "ARM CCN driver support"
39
	depends on ARM || ARM64 || COMPILE_TEST
40 41 42 43
	help
	  PMU (perf) driver supporting the ARM CCN (Cache Coherent Network)
	  interconnect.

R
Robin Murphy 已提交
44 45
config ARM_CMN
	tristate "Arm CMN-600 PMU support"
46
	depends on ARM64 || COMPILE_TEST
R
Robin Murphy 已提交
47 48 49 50
	help
	  Support for PMU events monitoring on the Arm CMN-600 Coherent Mesh
	  Network interconnect.

51
config ARM_PMU
52
	depends on ARM || ARM64
53 54 55 56 57 58
	bool "ARM PMU framework"
	default y
	help
	  Say y if you want to use CPU performance monitors on ARM-based
	  systems.

59 60 61 62
config ARM_PMU_ACPI
	depends on ARM_PMU && ACPI
	def_bool y

63 64
config ARM_SMMU_V3_PMU
	 tristate "ARM SMMUv3 Performance Monitors Extension"
65 66
	 depends on (ARM64 && ACPI) || (COMPILE_TEST && 64BIT)
	 depends on GENERIC_MSI_IRQ_DOMAIN
67 68 69 70 71 72
	   help
	   Provides support for the ARM SMMUv3 Performance Monitor Counter
	   Groups (PMCG), which provide monitoring of transactions passing
	   through the SMMU and allow the resulting information to be filtered
	   based on the Stream ID of the corresponding master.

73 74 75 76 77 78 79 80 81
config ARM_DSU_PMU
	tristate "ARM DynamIQ Shared Unit (DSU) PMU"
	depends on ARM64
	  help
	  Provides support for performance monitor unit in ARM DynamIQ Shared
	  Unit (DSU). The DSU integrates one or more cores with an L3 memory
	  system, control logic. The PMU allows counting various events related
	  to DSU.

82 83
config FSL_IMX8_DDR_PMU
	tristate "Freescale i.MX8 DDR perf monitor"
84
	depends on ARCH_MXC || COMPILE_TEST
85 86 87 88 89
	  help
	  Provides support for the DDR performance monitor in i.MX8, which
	  can give information about memory throughput and other related
	  events.

90 91
config QCOM_L2_PMU
	bool "Qualcomm Technologies L2-cache PMU"
92
	depends on ARCH_QCOM && ARM64 && ACPI
93
	select QCOM_KRYO_L2_ACCESSORS
94 95 96 97 98 99
	  help
	  Provides support for the L2 cache performance monitor unit (PMU)
	  in Qualcomm Technologies processors.
	  Adds the L2 cache PMU into the perf events subsystem for
	  monitoring L2 cache events.

100 101
config QCOM_L3_PMU
	bool "Qualcomm Technologies L3-cache PMU"
102
	depends on ARCH_QCOM && ARM64 && ACPI
103 104 105 106 107 108 109
	select QCOM_IRQ_COMBINER
	help
	   Provides support for the L3 cache performance monitor unit (PMU)
	   in Qualcomm Technologies processors.
	   Adds the L3 cache PMU into the perf events subsystem for
	   monitoring L3 cache events.

110 111
config THUNDERX2_PMU
	tristate "Cavium ThunderX2 SoC PMU UNCORE"
112 113
	depends on ARCH_THUNDER2 || COMPILE_TEST
	depends on NUMA && ACPI
114 115 116 117 118 119
	default m
	help
	   Provides support for ThunderX2 UNCORE events.
	   The SoC has PMU support in its L3 cache controller (L3C) and
	   in the DDR4 Memory Controller (DMC).

120
config XGENE_PMU
121
        depends on ARCH_XGENE || (COMPILE_TEST && 64BIT)
122 123 124 125 126
        bool "APM X-Gene SoC PMU"
        default n
        help
          Say y if you want to use APM X-Gene SoC performance monitors.

127 128
config ARM_SPE_PMU
	tristate "Enable support for the ARMv8.2 Statistical Profiling Extension"
129
	depends on ARM64
130 131 132 133 134
	help
	  Enable perf support for the ARMv8.2 Statistical Profiling
	  Extension, which provides periodic sampling of operations in
	  the CPU pipeline and reports this via the perf AUX interface.

135 136 137 138 139 140 141
config ARM_DMC620_PMU
	tristate "Enable PMU support for the ARM DMC-620 memory controller"
	depends on (ARM64 && ACPI) || COMPILE_TEST
	help
	  Support for PMU events monitoring on the ARM DMC-620 memory
	  controller.

142 143
config MARVELL_CN10K_TAD_PMU
	tristate "Marvell CN10K LLC-TAD PMU"
144
	depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
145 146 147 148
	help
	  Provides support for Last-Level cache Tag-and-data Units (LLC-TAD)
	  performance monitors on CN10K family silicons.

149 150
source "drivers/perf/hisilicon/Kconfig"

151 152 153 154 155 156 157
config MARVELL_CN10K_DDR_PMU
	tristate "Enable MARVELL CN10K DRAM Subsystem(DSS) PMU Support"
	depends on ARM64 || (COMPILE_TEST && 64BIT)
	help
	  Enable perf support for Marvell DDR Performance monitoring
	  event on CN10K platform.

158
endmenu