[PATCH v4 8/8] ARM: mach-virt: Select PMUv3 driver by default
Zaid Al-Bassam
zalbassam at google.com
Fri Mar 17 12:50:27 PDT 2023
From: Marc Zyngier <marc.zyngier at arm.com>
Since 32bit guests are not unlikely to run on an ARMv8 host,
let's select the PMUv3 driver, which allows the PMU to be used
on such systems.
Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
Signed-off-by: Zaid Al-Bassam <zalbassam at google.com>
Signed-off-by: Marc Zyngier <maz at kernel.org>
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index bc12857e81f9..6f0a2576d17f 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -401,6 +401,7 @@ config ARCH_VIRT
select ARM_GIC_V3
select ARM_GIC_V3_ITS if PCI
select ARM_PSCI
+ select ARM_PMUV3 if PERF_EVENTS
select HAVE_ARM_ARCH_TIMER
config ARCH_AIROHA
--
2.40.0.rc2.332.ga46443480c-goog
More information about the linux-arm-kernel
mailing list