[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/23] PPC: Bump MPIC up to 32 supported CPUs
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH 08/23] PPC: Bump MPIC up to 32 supported CPUs |
Date: |
Fri, 22 Jul 2011 17:01:26 +0200 |
On 22.07.2011, at 16:10, Elie Richa wrote:
>
> On 07/21/2011 03:27 AM, Alexander Graf wrote:
>> @@ -1288,7 +1288,7 @@ static void mpic_reset (void *opaque)
>>
>> mpp->glbc = 0x80000000;
>> /* Initialise controller registers */
>> - mpp->frep = 0x004f0002;
>> + mpp->frep = 0x004f0002 | ((MAX_CPU - 1)<< 8);
>
> Should we really report the maximum supported number of CPUs or the actual
> number?
> Several processor manuals state that it is the number of physically present
> CPUs that is reported (-1 of course).
> In that case, the following would do?
> mpp->frep = 0x004f0002 | ((mpp->nb_cpus - 1)<< 8);
Good idea. Will change :)
Alex
- Re: [Qemu-devel] [PATCH 01/23] PPC: Add secondary CPU spinning code, (continued)
[Qemu-devel] [PATCH 04/23] PPC: Add CPU local MMIO regions to MPIC, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 03/23] PPC: Add CPU definitions for up to 32 guest CPUs, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 18/23] PPC: KVM: Remove kvmppc_read_host_property, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 08/23] PPC: Bump MPIC up to 32 supported CPUs, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 23/23] PPC: E500: Bump CPU count to 32, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 15/23] PPC: E500: Use generic kvm function for freq, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 05/23] PPC: Extend MPIC MMIO range, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 12/23] device tree: add nop_node, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 10/23] PPC: E500: Generate IRQ lines for many CPUs, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 09/23] PPC: E500: create multiple envs, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 13/23] PPC: bamboo: Move host fdt copy to target, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 11/23] PPC: E500: Use spin code for secondary CPUs, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 20/23] PPC: E500: Update freqs for all CPUs, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 17/23] PPC: bamboo: Use kvm api for freq and clock frequencies, Alexander Graf, 2011/07/20