From: Mathew McBride Date: Tue, 15 Aug 2023 03:47:23 +0000 (+0000) Subject: kernel: default ARM_PMU on for armsr/armv8 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2c69d3e69252c6adac139be8f153c0eb6fc5625f;p=openwrt%2Fstaging%2Fblocktrron.git 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 (cherry picked from commit 76d4a7c84a97a5555b1962ddb9fc694b7e1f6ba8) --- diff --git a/config/Config-kernel.in b/config/Config-kernel.in index fbcd008f2f..c1bc7984f7 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