Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-12 Thread HATAYAMA Daisuke
(2013/11/12 9:40), HATAYAMA Daisuke wrote: (2013/11/12 1:52), Vivek Goyal wrote: On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-12 Thread HATAYAMA Daisuke
(2013/11/12 9:40), HATAYAMA Daisuke wrote: (2013/11/12 1:52), Vivek Goyal wrote: On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-11 Thread HATAYAMA Daisuke
(2013/11/12 1:52), Vivek Goyal wrote: On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid has initial apicid of the BSP, not the

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-11 Thread Vivek Goyal
On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] > Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and > platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid > has initial apicid of the BSP, not the current actual booting-up cpu. > >

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-11 Thread Vivek Goyal
On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid has initial apicid of the BSP, not the current actual booting-up cpu. These

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-11 Thread HATAYAMA Daisuke
(2013/11/12 1:52), Vivek Goyal wrote: On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid has initial apicid of the BSP, not the

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-10 Thread HATAYAMA Daisuke
(2013/11/09 1:08), Vivek Goyal wrote: On Wed, Oct 23, 2013 at 12:01:24AM +0900, HATAYAMA Daisuke wrote: If crash occurs on some AP, then kdump 2nd kernel is booted up on the AP. Therefore, it is not always correct that the CPU that is currently booting up the kernel is BSP. It's wrong to

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-10 Thread HATAYAMA Daisuke
(2013/11/09 1:08), Vivek Goyal wrote: On Wed, Oct 23, 2013 at 12:01:24AM +0900, HATAYAMA Daisuke wrote: If crash occurs on some AP, then kdump 2nd kernel is booted up on the AP. Therefore, it is not always correct that the CPU that is currently booting up the kernel is BSP. It's wrong to

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-08 Thread Vivek Goyal
On Wed, Oct 23, 2013 at 12:01:24AM +0900, HATAYAMA Daisuke wrote: > If crash occurs on some AP, then kdump 2nd kernel is booted up on the > AP. Therefore, it is not always correct that the CPU that is currently > booting up the kernel is BSP. It's wrong to reflect BSP information in > MP table as

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-08 Thread Vivek Goyal
On Wed, Oct 23, 2013 at 12:01:24AM +0900, HATAYAMA Daisuke wrote: If crash occurs on some AP, then kdump 2nd kernel is booted up on the AP. Therefore, it is not always correct that the CPU that is currently booting up the kernel is BSP. It's wrong to reflect BSP information in MP table as for

[PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-10-22 Thread HATAYAMA Daisuke
If crash occurs on some AP, then kdump 2nd kernel is booted up on the AP. Therefore, it is not always correct that the CPU that is currently booting up the kernel is BSP. It's wrong to reflect BSP information in MP table as for the current booting up CPU. Also, boot_cpu_physical_apicid has

[PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-10-22 Thread HATAYAMA Daisuke
If crash occurs on some AP, then kdump 2nd kernel is booted up on the AP. Therefore, it is not always correct that the CPU that is currently booting up the kernel is BSP. It's wrong to reflect BSP information in MP table as for the current booting up CPU. Also, boot_cpu_physical_apicid has