From f0dbc6d0de38df42184776aa8564c12ceb6f1d61 Mon Sep 17 00:00:00 2001 From: Will Deacon Date: Tue, 5 Mar 2024 10:56:49 +0000 Subject: [PATCH] perf: starfive: Only allow COMPILE_TEST for 64-bit architectures The kbuild robot exploded while wasting its time building the Starfive PMU driver for the 32-bit PA-RISC and Hexagon architectures. Adjust the Kconfig dependencies so that COMPILE_TEST is only applicable for 64-bit architectures (which implement writeq()). Reported-by: kernel test robot Signed-off-by: Will Deacon --- drivers/perf/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 2774b18f4e27..004d86230aa6 100644 --- a/drivers/perf/Kconfig +++ b/drivers/perf/Kconfig @@ -87,7 +87,7 @@ config RISCV_PMU_SBI filtering, counter configuration. config STARFIVE_STARLINK_PMU - depends on ARCH_STARFIVE || COMPILE_TEST + depends on ARCH_STARFIVE || (COMPILE_TEST && 64BIT) bool "StarFive StarLink PMU" help Provide support for StarLink Performance Monitor Unit.