summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2023-03-17 15:50:27 -0400
committerWill Deacon <will@kernel.org>2023-03-27 14:01:18 +0100
commit3b16f6268e660f15aed0bb97aefe87e893eb8882 (patch)
tree1915fb5a9d752f089dfb0759b4517d3dc6051d9d /arch/arm
parent009d6dc87a568db62290b8dc0a517b612217b6da (diff)
downloadlinux-stable-3b16f6268e660f15aed0bb97aefe87e893eb8882.tar.gz
linux-stable-3b16f6268e660f15aed0bb97aefe87e893eb8882.tar.bz2
linux-stable-3b16f6268e660f15aed0bb97aefe87e893eb8882.zip
ARM: mach-virt: Select PMUv3 driver by default
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@arm.com> Signed-off-by: Zaid Al-Bassam <zalbassam@google.com> Tested-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20230317195027.3746949-9-zalbassam@google.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index e24a9820e12f..a5e5c0b09ff2 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