[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: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus? |
Date: |
Tue, 9 Jun 2015 14:16:45 +0100 |
On 9 June 2015 at 13:27, Marc Zyngier <address@hidden> wrote:
> On 09/06/15 12:24, Peter Maydell wrote:
>> So either:
>> * QEMU needs to tell the kernel the MPIDR for each vCPU
>> * QEMU needs to ask the kernel the MPIDR for each vCPU
>>
>> Which is better? The latter is simpler and will work with
>> existing kernels. The former would let us (for instance)
>> use KVM when we're modelling (real world) boards which have
>> particular cluster configurations (which might not match the
>> kernel's current simplistic "always 16 CPUs at Aff0" setup).
>
> Given that it is userspace that provides the description of the
> platform, it feels natural to let userspace set MPIDR accordingly.
>
> This will require some interesting rework in the kernel, but this
> doesn't feel too bad.
On the other hand QEMU needs to keep working with current kernels,
so we need the "ask the kernel" code at least for the moment.
Probably needs a capability for "kernel allows userspace to
set MPIDR" so we can adapt.
-- PMM
- [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, 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?, 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 <=
- 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
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Christoffer Dall, 2015/06/25
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Peter Maydell, 2015/06/25
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Christoffer Dall, 2015/06/25
- Re: [Qemu-devel] should KVM or userspace be the one which decides what MIPIDR/affinity values to assign to vcpus?, Peter Maydell, 2015/06/25