summaryrefslogtreecommitdiff
path: root/drivers/perf
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2024-03-05 10:56:49 +0000
committerWill Deacon <will@kernel.org>2024-03-05 10:56:49 +0000
commitf0dbc6d0de38df42184776aa8564c12ceb6f1d61 (patch)
treee29cb6a57605d7477bb8dccf254fa29b145758c8 /drivers/perf
parentb9f71ab2152e5b344c02eb3ff43637162aaf29e6 (diff)
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 <lkp@intel.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/perf')
-rw-r--r--drivers/perf/Kconfig2
1 files changed, 1 insertions, 1 deletions
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.