KVM: arm64: Simplify handling of absent PMU system registers
authorMarc Zyngier <maz@kernel.org>
Wed, 6 Jan 2021 17:22:28 +0000 (17:22 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 14 Jan 2021 11:02:52 +0000 (11:02 +0000)
commit7ded92e25cac9758a755b8f524b11b509c49afe1
tree0d6408b4c3ca594e1c9fc21337c12ce4347709cd
parent11663111cd49b4c6dd27479774e420f139e4c447
KVM: arm64: Simplify handling of absent PMU system registers

Now that all PMU registers are gated behind a .visibility callback,
remove the other checks against an absent PMU.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c