diff options
author | Marc Zyngier <maz@kernel.org> | 2022-01-27 19:17:56 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-08 20:51:21 +0300 |
commit | 46b18782147248b62f00e98a7f87abaf934951e8 (patch) | |
tree | 3da147a33e0bd15a0dde28b47a733e7de9199a8a /arch/arm64/include/asm/kvm_host.h | |
parent | 2093057ab879da1070c851b9e07126eaa86d0dfc (diff) | |
download | linux-46b18782147248b62f00e98a7f87abaf934951e8.tar.xz |
KVM: arm64: Keep a per-VM pointer to the default PMU
As we are about to allow selection of the PMU exposed to a guest, start by
keeping track of the default one instead of only the PMU version.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/20220127161759.53553-4-alexandru.elisei@arm.com
Diffstat (limited to 'arch/arm64/include/asm/kvm_host.h')
-rw-r--r-- | arch/arm64/include/asm/kvm_host.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/kvm_host.h b/arch/arm64/include/asm/kvm_host.h index 2869259e10c0..57141a3a3740 100644 --- a/arch/arm64/include/asm/kvm_host.h +++ b/arch/arm64/include/asm/kvm_host.h @@ -129,7 +129,7 @@ struct kvm_arch { * up to 2^10 events (ARMv8.0) or 2^16 events (ARMv8.1+). */ unsigned long *pmu_filter; - unsigned int pmuver; + struct arm_pmu *arm_pmu; u8 pfr0_csv2; u8 pfr0_csv3; |