[openwrt/openwrt] kernel: default ARM_PMU on for armsr/armv8

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 15 07:05:17 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/76d4a7c84a97a5555b1962ddb9fc694b7e1f6ba8

commit 76d4a7c84a97a5555b1962ddb9fc694b7e1f6ba8
Author: Mathew McBride <matt at traverse.com.au>
AuthorDate: Tue Aug 15 03:47:23 2023 +0000

    kernel: default ARM_PMU on for armsr/armv8
    
    CONFIG_ARM_PMU (Arm Performance Monitor Unit) is a requirement
    to use KVM (virtualization) from Linux 5.11+, as the virtualised
    guest has virtualized PMU access.
    
    Signed-off-by: Mathew McBride <matt at traverse.com.au>
---
 config/Config-kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 0c9e00d11f..a1209d82f3 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -47,6 +47,7 @@ config KERNEL_MIPS_FP_SUPPORT
 
 config KERNEL_ARM_PMU
 	bool
+	default y if TARGET_armsr_armv8
 	depends on (arm || aarch64)
 
 config KERNEL_X86_VSYSCALL_EMULATION




More information about the lede-commits mailing list