qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Use Aff1 with mpidr


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH] Use Aff1 with mpidr
Date: Fri, 29 May 2015 15:03:26 +0200

On Fri, 29 May 2015 15:26:57 +0300
Pavel Fedin <address@hidden> wrote:

>  Hello!
> 
> > That's what I see as correct way to go
> > and along the way teach KVM to not derive mpidr encoding from vcpuid
> > and use QEMU provided mpidr value, that way mpidr would be consistent.
> 
>  Yes, and this would make modelling of real hardware working much better. 
> However,
> unfortunately, i have just tested it, and it does not work. MPIDR can be set 
> for the vCPU,
> and i believe it will even give back the value when read. But PSCI completely 
> ignores this
> setting.
> 
> > As it currently stands QEMU notion of mpidr and KVM's will diverge
> > onece CPU count goes above 16 CPUs.
> 
>  Yes, but fortunately the code which cares about it (PSCI and Shlomo's GICv3 
> software
> emulation) is not used with KVM. So i think we have no other choice if we 
> want to be
> compatible with current KVM APIs.
Well KVM side should be fixed instead of driving us along wrong route.

> 
> Kind regards,
> Pavel Fedin
> Expert Engineer
> Samsung Electronics Research center Russia
> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]