Re: [Patch v2] lapic need be checked if available when initialize acpi processor id

2014-05-02 Thread Rafael J. Wysocki
On Friday, May 02, 2014 04:51:46 PM Baoquan He wrote: > On 04/30/14 at 10:13pm, Rafael J. Wysocki wrote: > > On Wednesday, April 30, 2014 02:03:03 PM Baoquan He wrote: > > > Hi Rafael, > > > > Hi, > > > > > Thanks for previous review for v1. Later on I thought acpi_lapic is > > > more suitable fo

Re: [Patch v2] lapic need be checked if available when initialize acpi processor id

2014-05-02 Thread Baoquan He
On 04/30/14 at 10:13pm, Rafael J. Wysocki wrote: > On Wednesday, April 30, 2014 02:03:03 PM Baoquan He wrote: > > Hi Rafael, > > Hi, > > > Thanks for previous review for v1. Later on I thought acpi_lapic is > > more suitable for checking whether LAPIC in MADT is available, and it can > > hanlde b

Re: [Patch v2] lapic need be checked if available when initialize acpi processor id

2014-04-30 Thread Rafael J. Wysocki
On Wednesday, April 30, 2014 02:03:03 PM Baoquan He wrote: > Hi Rafael, Hi, > Thanks for previous review for v1. Later on I thought acpi_lapic is > more suitable for checking whether LAPIC in MADT is available, and it can > hanlde both the UP system running SMP kernel with no LAPIC in MADT and kd

Re: [Patch v2] lapic need be checked if available when initialize acpi processor id

2014-04-30 Thread Rafael J. Wysocki
On Wednesday, April 30, 2014 01:55:03 PM Baoquan He wrote: > In acpi_processor_get_info(), acpi processor info is initialized including > id, namely cpu index. Currently, if on UP system running SMP kerenl with > no LAPIC in MADT, cpu0_initialized is checked if acpi processor id is > initialized. >

Re: [Patch v2] lapic need be checked if available when initialize acpi processor id

2014-04-29 Thread Baoquan He
Hi Rafael, Thanks for previous review for v1. Later on I thought acpi_lapic is more suitable for checking whether LAPIC in MADT is available, and it can hanlde both the UP system running SMP kernel with no LAPIC in MADT and kdump kernel after multiple CPUs system crashed on non-1st CPU. I tested

[Patch v2] lapic need be checked if available when initialize acpi processor id

2014-04-29 Thread Baoquan He
In acpi_processor_get_info(), acpi processor info is initialized including id, namely cpu index. Currently, if on UP system running SMP kerenl with no LAPIC in MADT, cpu0_initialized is checked if acpi processor id is initialized. However this check maybe is not correct for kdump kernel. Most of t