Skip to content

Commit 1d8e926

Browse files
geertuwilldeacon
authored andcommitted
perf: MARVELL_CN10K_DDR_PMU should depend on ARCH_THUNDER
The Marvell CN10K DRAM Subsystem (DSS) performance monitor is only present on Marvell CN10K SoCs. Hence add a dependency on ARCH_THUNDER, to prevent asking the user about this driver when configuring a kernel without Cavium Thunder (incl. Marvell CN10K) SoC support, Fixes: 68fa55f ("perf/marvell: cn10k DDR perf event core ownership") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/18bfd6e1bcf67db7ea656d684a8bbb68261eeb54.1648559364.git.geert+renesas@glider.be Signed-off-by: Will Deacon <will@kernel.org>
1 parent 2012a9e commit 1d8e926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/perf/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ source "drivers/perf/hisilicon/Kconfig"
187187

188188
config MARVELL_CN10K_DDR_PMU
189189
tristate "Enable MARVELL CN10K DRAM Subsystem(DSS) PMU Support"
190-
depends on ARM64 || (COMPILE_TEST && 64BIT)
190+
depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
191191
help
192192
Enable perf support for Marvell DDR Performance monitoring
193193
event on CN10K platform.

0 commit comments

Comments
 (0)