]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab959a145d3ab89886955aa21d1721395352528f
tree0d6408b4c3ca594e1c9fc21337c12ce4347709cd
parent0f271584b2979ad7f573aaf507d7d62485ab54d4
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