arm64: KVM: use separate tables for AArch32 32 and 64bit traps
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 24 Apr 2014 13:11:48 +0000 (14:11 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:19:03 +0000 (17:19 +0200)
commit693292e6a93a775a91421b16f87f632e5d7f077b
tree13fc6481206eb7a604f3cf256fbe61b917e78ae2
parentd62af886035cc34e73e82e06179951f6c4e72c6d
arm64: KVM: use separate tables for AArch32 32 and 64bit traps

An interesting "feature" of the CP14 encoding is that there is
an overlap between 32 and 64bit registers, meaning they cannot
live in the same table as we did for CP15.

Create separate tables for 64bit CP14 and CP15 registers, and
let the top level handler use the right one.

Reviewed-by: Anup Patel <anup.patel@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit a9866ba0cddfc497335fa02a175c4578b96722ff)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/sys_regs.c