]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Keep a per-VM pointer to the default PMU
authorMarc Zyngier <maz@kernel.org>
Thu, 27 Jan 2022 16:17:56 +0000 (16:17 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 8 Feb 2022 17:51:21 +0000 (17:51 +0000)
commit710737e3a7370f7d55005ae53bf8dd753b22a709
tree3da147a33e0bd15a0dde28b47a733e7de9199a8a
parent75e5653b1bdac3b081b534224d95e4adebd6a175
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
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/pmu-emul.c