KVM: arm64: Remove target_table from exit handlers
authorJames Morse <james.morse@arm.com>
Mon, 22 Jun 2020 11:33:16 +0000 (11:33 +0000)
committerMarc Zyngier <maz@kernel.org>
Sun, 5 Jul 2020 17:20:45 +0000 (18:20 +0100)
commitdcaffa7bf911578a6d69165d712501996c587fbe
treef991e4de975a97edb9f89fe11ae500a2cfc557af
parentaf4738290d9dfe3787f60e40f709a4f78a115943
KVM: arm64: Remove target_table from exit handlers

Whenever KVM searches for a register (e.g. due to a guest exit), it
works with two tables, as the target table overrides the sys_regs array.

Now that everything is in the sys_regs array, and the target table is
empty, stop doing that.

Remove the second table and its size from all the functions that take
it.

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-5-james.morse@arm.com
arch/arm64/kvm/sys_regs.c