[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140205170959.GI6042@redhat.com>
Date: Wed, 5 Feb 2014 12:09:59 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: HATAYAMA Daisuke <d.hatayama@...fujitsu.com>
Cc: David Rientjes <rientjes@...gle.com>,
"H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
"x86@...nel.org" <x86@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Jerry Hoemann <jerry.hoemann@...com>
Subject: Re: [PATCH] x86, apic: clean up handling of boot_cpu_physical_apicid
in boot process
On Wed, Feb 05, 2014 at 11:38:24AM -0500, Vivek Goyal wrote:
[..]
> 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?
Or, can I look at "processor" field in /proc/cpuinfo. If this is 0, will
this always mean it represents the cpu on which kernel booted.
If yes, then in first kernel one can safely assume that boot cpu is bios
designated BSP also. And kdump scripts should be able to automate that.
Though this assumption can be broken in second kernel but as of today
nobody needs to know bios designated BSP in second kernel.
Thanks
Vivek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists