[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4] Use Aff1 with mpidr
From: |
Igor Mammedov |
Subject: |
Re: [Qemu-devel] [PATCH v4] Use Aff1 with mpidr |
Date: |
Mon, 15 Jun 2015 11:03:09 +0200 |
On Mon, 15 Jun 2015 11:13:52 +0300
Pavel Fedin <address@hidden> wrote:
> Hello!
>
> > For machine models to specify topology we would need a property
> > or properties on the QOM object for the machine model to set,
>
> On which object? There's no single object inside a machine model. Of course
> you can expose MP IDs of CPU objects as properties and set them, but isn't it
> more difficult than just changing one global before setting things up?
that's how we model it for x86 target, i.e. board sets apic-id property
of CPU's it creates, and that's what I've suggested before (i.e. not a global
for sure).
> But, OK, this is just a MHO, and generally i don't object. If you think that
> your suggestion is architecturally better, do it. I'm out of arguments. :)
>
> > (And we'd need to have the code to see if KVM
> > supported setting arbitrary MPIDR values, and fail if not.)
>
> I believe this is a different story.
>
> Kind regards,
> Pavel Fedin
> Expert Engineer
> Samsung Electronics Research center Russia
>
>
>