KVM: arm64: Reorder handling of invariant sysregs from userspace
authorMarc Zyngier <maz@kernel.org>
Sun, 3 Jul 2022 14:11:50 +0000 (15:11 +0100)
committerMarc Zyngier <maz@kernel.org>
Sun, 17 Jul 2022 10:55:33 +0000 (11:55 +0100)
commit1deeffb559663dc44e4b8a61fe7e271fe3b4b836
tree9dd08709d75570019f76a1b1a8cdf4e5f2437efb
parentda8d120fbafe1d3217d25ac45493538b37cff87c
KVM: arm64: Reorder handling of invariant sysregs from userspace

In order to allow some further refactor of the sysreg helpers,
move the handling of invariant sysreg to occur before we handle
all the other ones.

Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/sys_regs.c