On Thu, Aug 07, 2014 at 09:56:28AM +0100, Anup Patel wrote: > On 6 August 2014 18:22, Will Deacon <will.deacon@xxxxxxx> wrote: > > On Tue, Aug 05, 2014 at 09:49:57AM +0100, Anup Patel wrote: > >> The VCPU target type KVM_ARM_TARGET_XGENE_POTENZA is available > >> in latest Linux-3.16-rcX or higher hence register aarch64 target > >> type for it. > >> > >> This patch enables us to run KVMTOOL on X-Gene Potenza host. > >> > >> Signed-off-by: Pranavkumar Sawargaonkar <pranavkumar@xxxxxxxxxx> > >> Signed-off-by: Anup Patel <anup.patel@xxxxxxxxxx> > >> --- > >> tools/kvm/arm/aarch64/arm-cpu.c | 9 ++++++++- > >> 1 file changed, 8 insertions(+), 1 deletion(-) > >> > >> diff --git a/tools/kvm/arm/aarch64/arm-cpu.c b/tools/kvm/arm/aarch64/arm-cpu.c > >> index ce5ea2f..ce526e3 100644 > >> --- a/tools/kvm/arm/aarch64/arm-cpu.c > >> +++ b/tools/kvm/arm/aarch64/arm-cpu.c > >> @@ -41,10 +41,17 @@ static struct kvm_arm_target target_cortex_a57 = { > >> .init = arm_cpu__vcpu_init, > >> }; > >> > >> +static struct kvm_arm_target target_potenza = { > >> + .id = KVM_ARM_TARGET_XGENE_POTENZA, > >> + .compatible = "arm,arm-v8", > >> + .init = arm_cpu__vcpu_init, > >> +}; > > > > This implies you have the same PPIs for the arch-timer as the Cortex-A CPUs. > > Is that right? > > Currently, KVM ARM64 provides PPI27 as arch-time IRQ for all target types. > > This will have to change if KVM ARM64 starts using different > arch-timer PPI based on target type. Oh, of course, these are virtual interrupt numbers. Ignore me! Will -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html