arm64: KVM: Support X-Gene guest VCPU on APM X-Gene host
authorAnup Patel <anup.patel@linaro.org>
Thu, 14 Nov 2013 15:20:08 +0000 (15:20 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Sat, 28 Dec 2013 10:28:50 +0000 (10:28 +0000)
commite28100bd8ed9e37b7cd4578140a1e7f95bd40835
tree0f08697c384129e26eb2db125ff2c1a1383fbd1f
parentda7814700a0c408bead58ce4714b7625ffbaade1
arm64: KVM: Support X-Gene guest VCPU on APM X-Gene host

This patch allows us to have X-Gene guest VCPU when using KVM arm64
on APM X-Gene host.

We add KVM_ARM_TARGET_XGENE_POTENZA for X-Gene Potenza compatible
guest VCPU and we return KVM_ARM_TARGET_XGENE_POTENZA in kvm_target_cpu()
when running on X-Gene host with Potenza core.

[maz: sanitized the commit log]

Signed-off-by: Anup Patel <anup.patel@linaro.org>
Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/include/uapi/asm/kvm.h
arch/arm64/kvm/guest.c
arch/arm64/kvm/sys_regs_generic_v8.c