lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260204091836.1713729-1-minachou@andestech.com>
Date: Wed, 4 Feb 2026 17:18:37 +0800
From: Hui Min Mina Chou <minachou@...estech.com>
To: <atish.patra@...ux.dev>, <anup@...infault.org>,
        <linux-riscv@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
CC: <tim609@...estech.com>, <cynthia@...estech.com>, <ben717@...estech.com>,
        <az70021@...il.com>, Charles Ci-Jyun Wu <dminus@...estech.com>
Subject: [PATCH] perf: andes: support ANDES_CUSTOM_PMU on ARCH_ANDES

From: Charles Ci-Jyun Wu <dminus@...estech.com>

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

Signed-off-by: Cynthia Huang <cynthia@...estech.com>
Signed-off-by: Charles Ci-Jyun Wu <dminus@...estech.com>
---
 drivers/perf/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig
index 638321fc9800..39e174d36336 100644
--- a/drivers/perf/Kconfig
+++ b/drivers/perf/Kconfig
@@ -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
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ