linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* The difference between x86_cpu_to_apicid and x86_bios_cpu_apicid
@ 2016-06-18  8:24 Baoquan He
  0 siblings, 0 replies; only message in thread
From: Baoquan He @ 2016-06-18  8:24 UTC (permalink / raw)
  To: tglx; +Cc: linux-kernel

Hi Thomas,

Sorry to bother you. I am always wondering what's the difference between
x86_cpu_to_apicid and x86_bios_cpu_apicid. Or in other words, I don't
know why x86_bios_cpu_apicid is required. From code both
x86_cpu_to_apicid and x86_bios_cpu_apicid stores the apicid correspond
to a certain logic cpu number. With my understanding x86_cpu_to_apicid
can do what x86_bios_cpu_apicid is doing except for its usage in below
commit.

commit 1f12e32f4cd5243ae46d8b933181be0d022c6793
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Mon Feb 22 22:19:15 2016 +0000

    x86/topology: Create logical package id

Could you please help to explain when it's convenient to you?

Thanks
Baoquan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-18  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-18  8:24 The difference between x86_cpu_to_apicid and x86_bios_cpu_apicid Baoquan He

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).