Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1425669 > unrolled thread

The difference between x86_cpu_to_apicid and x86_bios_cpu_apicid

Started byBaoquan He <bhe@redhat.com>
First post2016-06-18 10:30 +0200
Last post2016-06-18 10:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  The difference between x86_cpu_to_apicid and x86_bios_cpu_apicid Baoquan He <bhe@redhat.com> - 2016-06-18 10:30 +0200

#1425669 — The difference between x86_cpu_to_apicid and x86_bios_cpu_apicid

FromBaoquan He <bhe@redhat.com>
Date2016-06-18 10:30 +0200
SubjectThe difference between x86_cpu_to_apicid and x86_bios_cpu_apicid
Message-ID<rLjNE-1CT-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web