kernel: default ARM_PMU on for armsr/armv8
authorMathew McBride <matt@traverse.com.au>
Tue, 15 Aug 2023 03:47:23 +0000 (03:47 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Aug 2023 13:11:55 +0000 (15:11 +0200)
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@traverse.com.au>
(cherry picked from commit 76d4a7c84a97a5555b1962ddb9fc694b7e1f6ba8)

config/Config-kernel.in

index fbcd008f2fb05be523719ed2220ad8d2ad4601d3..c1bc7984f76f48aa4d873251668e79fab48cf2b0 100644 (file)
@@ -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