KVM: arm64: Remove PMU RAZ/WI handling
authorMarc Zyngier <maz@kernel.org>
Fri, 13 Nov 2020 14:12:53 +0000 (14:12 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 27 Nov 2020 11:40:53 +0000 (11:40 +0000)
commitf975ccb08d6530e58bac660c7a938f98bae5a651
treee70185176aa61b9972a70918d1ede85921bfbf63
parentb0737e999ec0af007b10ac0b7db97932394a248f
KVM: arm64: Remove PMU RAZ/WI handling

There is no RAZ/WI handling allowed for the PMU registers in the
ARMv8 architecture. Nobody can remember how we cam to the conclusion
that we could do this, but the ARMv8 ARM is pretty clear that we cannot.

Remove the RAZ/WI handling of the PMU system registers when it is
not configured.

Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c