KVM: arm64: Use {read,write}_sysreg_el1 to access ZCR_EL1
authorMarc Zyngier <maz@kernel.org>
Thu, 11 Mar 2021 13:51:44 +0000 (13:51 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 18 Mar 2021 11:23:48 +0000 (11:23 +0000)
commit83857371d4cbeff8551fa770e045be9c6b04715c
tree1931103dc17a4b853102b4cefc533e8053af8221
parent297b8603e356ad82c1345cc75fad4d89310a3c34
KVM: arm64: Use {read,write}_sysreg_el1 to access ZCR_EL1

Switch to the unified EL1 accessors for ZCR_EL1, which will make
things easier for nVHE support.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/fpsimd.c
arch/arm64/kvm/hyp/include/hyp/switch.h