[openwrt/openwrt] config: remove kernel version restriction for ARM_PMUV3

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 4 11:19:41 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/fb6a28815e30d3a74d98b0241eace14bb40d3f5f

commit fb6a28815e30d3a74d98b0241eace14bb40d3f5f
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Tue Jun 3 13:23:57 2025 +1000

    config: remove kernel version restriction for ARM_PMUV3
    
    The kernel CONFIG_ARM_PMUV3 option was not being presented
    for 6.12 kernels with armsr/armv7.
    
    As the minimum kernel version is now 6.6, there is no need
    to limit this to specific kernel versions anymore.
    
    This caused a kernel compile stoppage when attempting to
    compile the 'perf' tool for armsr/armv7.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
    Link: https://github.com/openwrt/openwrt/pull/18849
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-kernel.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 3c1c8438d4..d121882b29 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -53,7 +53,7 @@ config KERNEL_ARM_PMU
 config KERNEL_ARM_PMUV3
 	bool
 	default y if TARGET_armsr_armv8
-	depends on (arm_v7 || aarch64) && LINUX_6_6
+	depends on (arm_v7 || aarch64)
 
 config KERNEL_RISCV_PMU
 	bool
@@ -84,7 +84,7 @@ config KERNEL_X86_VSYSCALL_EMULATION
 config KERNEL_PERF_EVENTS
 	bool "Compile the kernel with performance events and counters"
 	select KERNEL_ARM_PMU if (arm || aarch64)
-	select KERNEL_ARM_PMUV3 if (arm_v7 || aarch64) && LINUX_6_6
+	select KERNEL_ARM_PMUV3 if (arm_v7 || aarch64)
 	select KERNEL_RISCV_PMU if riscv64
 
 config KERNEL_PROFILING




More information about the lede-commits mailing list