Merge tag 'riscv-for-linus-6.9-mw2' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / drivers / perf / Kconfig
index 564e813d8c69b2195b84eb54cd43490733fe21de..7526a9e714fa985d79d20b77003483a81f7b60a7 100644 (file)
@@ -86,6 +86,16 @@ config RISCV_PMU_SBI
          full perf feature support i.e. counter overflow, privilege mode
          filtering, counter configuration.
 
+config STARFIVE_STARLINK_PMU
+       depends on ARCH_STARFIVE || COMPILE_TEST
+       depends on 64BIT
+       bool "StarFive StarLink PMU"
+       help
+          Provide support for StarLink Performance Monitor Unit.
+          StarLink Performance Monitor Unit integrates one or more cores with
+          an L3 memory system. The L3 cache events are added into perf event
+          subsystem, allowing monitoring of various L3 cache perf events.
+
 config ANDES_CUSTOM_PMU
        bool "Andes custom PMU support"
        depends on ARCH_RENESAS && RISCV_ALTERNATIVE && RISCV_PMU_SBI