]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1199fbd62246ad1dc02e32601435dde9ebd787e
treee70185176aa61b9972a70918d1ede85921bfbf63
parent2d10144677a340a466fb2d98ff0acad3d2624a24
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