KVM: arm64: Unify trap handlers injecting an UNDEF
authorMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 14:13:07 +0000 (14:13 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 12 Nov 2020 21:22:45 +0000 (21:22 +0000)
commit338b17933a6077bb5406b33d8b9fb9616fffc1af
tree7057b1375662207324c212538eef395d56eb13a9
parent23711a5e662c1a66e14cb9288e7dfd2b840efcd5
KVM: arm64: Unify trap handlers injecting an UNDEF

A large number of system register trap handlers only inject an
UNDEF exeption, and yet each class of sysreg seems to provide its
own, identical function.

Let's unify them all, saving us introducing yet another one later.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20201110141308.451654-3-maz@kernel.org
arch/arm64/kvm/sys_regs.c