[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 2/5] target-i386: Remove unused APIC ID defau
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH v4 2/5] target-i386: Remove unused APIC ID default code |
Date: |
Thu, 05 Mar 2015 19:35:17 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Am 05.03.2015 um 14:43 schrieb Eduardo Habkost:
> On Tue, Mar 03, 2015 at 11:13:41PM -0300, Eduardo Habkost wrote:
>> The existing apic_id = cpu_index code has no visible effect: the PC code
>> already initializes the APIC ID according to the topology on
>> pc_new_cpu(), and linux-user memcpy()s the CPU state (including
>> cpuid_apic_id) on cpu_copy().
>>
>> Remove the dead code and simply let APIC ID to to be 0 by default. This
>> doesn't change behavior of PC because apic-id is already explicitly set,
>> and doesn't affect linux-user because APIC ID was already always 0.
>>
>> Signed-off-by: Eduardo Habkost <address@hidden>
>
> This patch is holding the rest of the series, so a Reviewed-by or
> Acked-by would be welcome.
>
> This change removes the 254-CPU limit from {i386,x86_64}-linux-user that
> Peter and I discussed previously.
Reviewed-by: Andreas Färber <address@hidden>
Are you going to send a new pull for the 2 plus these 5 now?
Thanks,
Andreas
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu,
Graham Norton; HRB 21284 (AG Nürnberg)
[Qemu-devel] [PATCH v4 4/5] target-i386: Move APIC ID compatibility code to pc.c, Eduardo Habkost, 2015/03/03
[Qemu-devel] [PATCH v4 5/5] target-i386: Require APIC ID to be explicitly set before CPU realize, Eduardo Habkost, 2015/03/03
[Qemu-devel] [PATCH v4 3/5] target-i386: Move CPUX86State.cpuid_apic_id to X86CPU.apic_id, Eduardo Habkost, 2015/03/03