]> 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)
commitd96a87797b256cd14611541fc3e55834b23c9726
treee70185176aa61b9972a70918d1ede85921bfbf63
parent37399ce584188dbdacbaa12b8d138586475c7c69
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