[PATCH 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2016-01-06 Thread Tang Chen
From: Gu Zheng This patch finishes step 3. There are four mappings in the kernel: 1. nodeid (logical node id) <-> pxm 2. apicid (physical cpu id) <-> nodeid 3. cpuid (logical cpu id) <-> apicid 4. cpuid (logical cpu id) <-> nodeid 1. pxm (proximity domain) is provided by

[PATCH 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2016-01-06 Thread Tang Chen
From: Gu Zheng This patch finishes step 3. There are four mappings in the kernel: 1. nodeid (logical node id) <-> pxm 2. apicid (physical cpu id) <-> nodeid 3. cpuid (logical cpu id) <-> apicid 4. cpuid (logical cpu id) <-> nodeid 1. pxm (proximity

Re: [PATCH 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2015-07-15 Thread Tejun Heo
Hello, On Tue, Jul 07, 2015 at 05:30:24PM +0800, Tang Chen wrote: > From: Gu Zheng > > All processors' apicids can be obtained by _MAT method or from MADT in ACPI. > The current code ignores disabled processors and returns -ENODEV. > > After this patch, a new parameter will be added to MADT

Re: [PATCH 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2015-07-15 Thread Tejun Heo
Hello, On Tue, Jul 07, 2015 at 05:30:24PM +0800, Tang Chen wrote: From: Gu Zheng guz.f...@cn.fujitsu.com All processors' apicids can be obtained by _MAT method or from MADT in ACPI. The current code ignores disabled processors and returns -ENODEV. After this patch, a new parameter will be

[PATCH 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2015-07-07 Thread Tang Chen
From: Gu Zheng All processors' apicids can be obtained by _MAT method or from MADT in ACPI. The current code ignores disabled processors and returns -ENODEV. After this patch, a new parameter will be added to MADT APIs so that caller is able to control if disabled processors are ignored.

[PATCH 4/5] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2015-07-07 Thread Tang Chen
From: Gu Zheng guz.f...@cn.fujitsu.com All processors' apicids can be obtained by _MAT method or from MADT in ACPI. The current code ignores disabled processors and returns -ENODEV. After this patch, a new parameter will be added to MADT APIs so that caller is able to control if disabled