]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: ARM: Add support for Cortex-A7
authorJonathan Austin <jonathan.austin@arm.com>
Thu, 26 Sep 2013 15:49:28 +0000 (16:49 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sun, 13 Oct 2013 00:45:30 +0000 (17:45 -0700)
commitefb4d366c00b902268fa3e2fb15dbce467fc7e06
tree26f87c5f4aa7f952fb9b3e4ad28894556cee06b5
parentd789654b5e99734b18ebbe5adac5e2187e5c1400
KVM: ARM: Add support for Cortex-A7

This patch adds support for running Cortex-A7 guests on Cortex-A7 hosts.

As Cortex-A7 is architecturally compatible with A15, this patch is largely just
generalising existing code. Areas where 'implementation defined' behaviour
is identical for A7 and A15 is moved to allow it to be used by both cores.

The check to ensure that coprocessor register tables are sorted correctly is
also moved in to 'common' code to avoid each new cpu doing its own check
(and possibly forgetting to do so!)

Signed-off-by: Jonathan Austin <jonathan.austin@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/include/asm/kvm_asm.h
arch/arm/include/uapi/asm/kvm.h
arch/arm/kvm/Makefile
arch/arm/kvm/coproc.c
arch/arm/kvm/coproc_a15.c
arch/arm/kvm/coproc_a7.c [new file with mode: 0644]
arch/arm/kvm/guest.c
arch/arm/kvm/reset.c