Messages in this thread | | | Date | Wed, 5 Feb 2014 11:38:24 -0500 | From | Vivek Goyal <> | Subject | Re: [PATCH] x86, apic: clean up handling of boot_cpu_physical_apicid in boot process |
| |
On Mon, Jan 27, 2014 at 11:55:09AM +0900, HATAYAMA Daisuke wrote:
[..] > ``bsp'' and ``boot cpu'' are different, but certainly they are close > for most of people who don't need to focus the difference.
I agree. Especially this difference is becoming visible in kdump context where we skip BIOS and can trigger a fresh boot on an AP.
Hatayama, I think distinguishing BSP and boot cpu makes sense and we also need to find a way to export this information to user space. So that we can figure out who is BSP and tell second kernel not to bring up that cpu.
Initially we thought that cpu with "initial apicid" 0 is BSP. But Jerry from HP is reporting that on some of the machines he has, BSP does not have to have apic id 0.
If that's the case, we don't have a reliable way to figure out which is BSP in the system. Or am I missing something?
Thanks Vivek
| |