Skip to contentSkip to conversation

perf: andes: support ANDES_CUSTOM_PMU on ARCH_ANDES

PATCH New Hui Min Mina Chou 1 participant 1 message Feb 4

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: andes: support ANDES_CUSTOM_PMU on ARCH_ANDES

From: Charles Ci-Jyun Wu <[email protected]>

Modify ANDES_CUSTOM_PMU Kconfig dependency to include both ARCH_ANDES and ARCH_RENESAS platforms. Previously, it depended only on ARCH_RENESAS, which prevented PMU IRQ from being enabled correctly on Andes platforms

---
 drivers/perf/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/perf/Kconfig +1 -1
index 638321fc9800..39e174d36336 100644
@@ -117,7 +117,7 @@ config STARFIVE_STARLINK_PMU
 
 config ANDES_CUSTOM_PMU
 	bool "Andes custom PMU support"
-	depends on ARCH_RENESAS && RISCV_ALTERNATIVE && RISCV_PMU_SBI
+	depends on (ARCH_ANDES || ARCH_RENESAS) && RISCV_ALTERNATIVE && RISCV_PMU_SBI
 	default y
 	help
 	  The Andes cores implement the PMU overflow extension very
Signature · 1 line
2.34.1