diff mbox series

perf: Do not enable by default during compile testing

Message ID 20250417074650.81561-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New
Headers show
Series perf: Do not enable by default during compile testing | expand

Commit Message

Krzysztof Kozlowski April 17, 2025, 7:46 a.m. UTC
Enabling the compile test should not cause automatic enabling of all
drivers, but only allow to choose to compile them.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

For longer rationale:
https://lore.kernel.org/all/191543a8-2e2e-4ac4-9b2b-d253820a0c9f@app.fastmail.com/
---
 drivers/perf/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Will Deacon April 17, 2025, 2:27 p.m. UTC | #1
On Thu, 17 Apr 2025 09:46:50 +0200, Krzysztof Kozlowski wrote:
> Enabling the compile test should not cause automatic enabling of all
> drivers, but only allow to choose to compile them.
> 
> 

Applied to will (for-next/perf), thanks!

[1/1] perf: Do not enable by default during compile testing
      https://git.kernel.org/will/c/70cbcb2850ec

Cheers,
diff mbox series

Patch

diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 4e268de351c4..278c929dc87a 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -202,7 +202,7 @@  config THUNDERX2_PMU
 	tristate "Cavium ThunderX2 SoC PMU UNCORE"
 	depends on ARCH_THUNDER2 || COMPILE_TEST
 	depends on NUMA && ACPI
-	default m
+	default m if ARCH_THUNDER2
 	help
 	   Provides support for ThunderX2 UNCORE events.
 	   The SoC has PMU support in its L3 cache controller (L3C) and