KVM: arm64: Move ACTLR_EL1 emulation to the sys_reg_descs array
authorJames Morse <james.morse@arm.com>
Mon, 22 Jun 2020 11:33:15 +0000 (11:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 5 Jul 2020 17:20:45 +0000 (18:20 +0100)
commitaf4738290d9dfe3787f60e40f709a4f78a115943
treec376dcf01c3fec4d3bfd0ae3250dad868eb3dbf0
parent04343ae312ef0d80d601ea1b784b6b039ae9c82a
KVM: arm64: Move ACTLR_EL1 emulation to the sys_reg_descs array

The only entry in the genericv8_sys_regs arrays is for emulation of
ACTLR_EL1. As all targets emulate this in the same way, move it to
sys_reg_descs[].

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200622113317.20477-4-james.morse@arm.com
arch/arm64/kvm/sys_regs.c
arch/arm64/kvm/sys_regs_generic_v8.c