Re: [Qemu-devel] [PATCH 11/33] pc: acpi: cpuhp-legacy: switch ProcessorID to possible_cpus idx

2016-05-31 Thread Igor Mammedov
On Mon, 30 May 2016 21:39:50 +0300 Marcel Apfelbaum wrote: > On 05/17/2016 05:43 PM, Igor Mammedov wrote: > > In legacy cpu-hotplug ProcessorID == APIC ID is used > > in MADT and cpu-hotplug AML. It was fine as both > > are 8bit and unique. Spec depricated Processor() > > with

Re: [Qemu-devel] [PATCH 11/33] pc: acpi: cpuhp-legacy: switch ProcessorID to possible_cpus idx

2016-05-30 Thread Marcel Apfelbaum
On 05/17/2016 05:43 PM, Igor Mammedov wrote: In legacy cpu-hotplug ProcessorID == APIC ID is used in MADT and cpu-hotplug AML. It was fine as both are 8bit and unique. Spec depricated Processor() with corresponding ProcessorID and advises to use Device() and UID instead of it. However UID is

[Qemu-devel] [PATCH 11/33] pc: acpi: cpuhp-legacy: switch ProcessorID to possible_cpus idx

2016-05-17 Thread Igor Mammedov
In legacy cpu-hotplug ProcessorID == APIC ID is used in MADT and cpu-hotplug AML. It was fine as both are 8bit and unique. Spec depricated Processor() with corresponding ProcessorID and advises to use Device() and UID instead of it. However UID is just 32bit and it can't fit ARM's arch_id(MPIDR)