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>
Tue, 15 Aug 2023 13:55:00 +0000 (15:55 +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>
config/Config-kernel.in

index 0c9e00d11fe5edf5bd7275ae118e2545c0ca466f..a1209d82f3a8d11a028907939d4fb840e25142be 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