Skip to content

Commit e08d07d

Browse files
geertuctmarinas
authored andcommitted
drivers/perf: ALIBABA_UNCORE_DRW_PMU should depend on ACPI
The Alibaba T-Head Yitian 710 DDR Sub-system Driveway PMU driver relies solely on ACPI for matching. Hence add a dependency on ACPI, to prevent asking the user about this driver when configuring a kernel without ACPI support. Fixes: cf7b610 ("drivers/perf: add DDR Sub-System Driveway PMU driver for Yitian 710 SoC") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/2a4407bb598285660fa5e604e56823ddb12bb0aa.1664285774.git.geert+renesas@glider.be Signed-off-by: Catalin Marinas <[email protected]>
1 parent ad0112f commit e08d07d

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
@@ -185,7 +185,7 @@ config APPLE_M1_CPU_PMU
185185

186186
config ALIBABA_UNCORE_DRW_PMU
187187
tristate "Alibaba T-Head Yitian 710 DDR Sub-system Driveway PMU driver"
188-
depends on ARM64 || COMPILE_TEST
188+
depends on (ARM64 && ACPI) || COMPILE_TEST
189189
help
190190
Support for Driveway PMU events monitoring on Yitian 710 DDR
191191
Sub-system.

0 commit comments

Comments
 (0)