]> 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)
commiteeb2b2fc29ae6c55e409f2a4d7e8ea9a41a92504
tree0d6408b4c3ca594e1c9fc21337c12ce4347709cd
parent07258a07d77ab11a41c7a5eb99a49fa388752c6d
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