[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] should KVM or userspace be the one which decides what M
From: |
Marc Zyngier |
Subject: |
Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus? |
Date: |
Tue, 09 Jun 2015 11:52:09 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 |
On 08/06/15 11:52, Peter Maydell wrote:
> On 8 June 2015 at 11:32, Igor Mammedov <address@hidden> wrote:
>> On Thu, 4 Jun 2015 18:17:39 +0100
>> Peter Maydell <address@hidden> wrote:
>>> On 4 June 2015 at 17:40, Shlomo Pongratz <address@hidden> wrote:
>>> In order for it to work correctly we must use MPIDR values in
>>> the device tree which match the MPIDR values the kernel has picked
>>> for the vcpus, so ask KVM what those values are.
>
>> Could we set QEMU's generated mpidr in kernel instead of pulling it from
>> kernel,
>> like we do with APIC ID in x86 and fix kernel not to reset it its own value
>> (i.e. untie mpidr from vcpuid)?
>>
>> Then later we could move setting mpidr from kvm_arch_init_vcpu() into
>> board code which should be setting it, since it knows/defines what topology
>> it has.
>
> This is a question better asked on the kvmarm list (which I have cc'd),
> because that is where the kernel folks hang out...
Care to provide some context? Why is this required?
Thanks,
M.
--
Jazz is not dead. It just smells funny...
- [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Peter Maydell, 2015/06/08
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?,
Marc Zyngier <=
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Peter Maydell, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Igor Mammedov, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Marc Zyngier, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Peter Maydell, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Marc Zyngier, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Peter Maydell, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Marc Zyngier, 2015/06/09
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Igor Mammedov, 2015/06/10
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Marc Zyngier, 2015/06/10
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Radim, 2015/06/10