]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arm64: KVM: Handle PMCR_EL0.LC as RES1 on pure AArch64 systems
authorMarc Zyngier <maz@kernel.org>
Fri, 4 Oct 2019 10:03:09 +0000 (11:03 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 20 Oct 2019 09:47:07 +0000 (10:47 +0100)
commit6f16371453476fd094760ea3d6f00144e9ae3057
tree59ec323837bee0ff834014703e1d7fd894757bd7
parentf4e23cf9477452640d2522f3286db5df6fcfe45a
arm64: KVM: Handle PMCR_EL0.LC as RES1 on pure AArch64 systems

Of PMCR_EL0.LC, the ARMv8 ARM says:

"In an AArch64 only implementation, this field is RES 1."

So be it.

Fixes: ab9468340d2bc ("arm64: KVM: Add access handler for PMCR register")
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c