]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93f90fdf537235bd38b3422beb898f769b784f84
treef991e4de975a97edb9f89fe11ae500a2cfc557af
parent8f8141c2d8bc9d6b6ba594586312f949362aec25
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