]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Fri, 11 Jul 2014 11:57:45 +0000 (04:57 -0700)
commit44c197e2b9b99ef06c4dbf695cc381966d2124b5
treee5eeca5f3808ae9ba830a4b2fc8fd185cc26a552
parentbb767747b90380dcc4e2cc8be4266d86e0de440b
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>
arch/arm64/kvm/sys_regs.c