From: Cao jin <caoj.fnst@cn.fujitsu.com>
To: X86 ML <x86@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>
Subject: Is this code chunk in init_apic_mappings() superfluous?
Date: Thu, 5 Mar 2020 20:44:24 +0800 [thread overview]
Message-ID: <978293b9-8e9f-55f6-6ec4-e2d66c4db0de@cn.fujitsu.com> (raw)
Hi,
I am trying to figure the following code chunk out:
if (x2apic_mode) {
boot_cpu_physical_apicid = read_apic_id();
return;
}
As my understanding, even in x2APIC mode, boot_cpu_physical_apicid is
also got via early_acpi_process_madt --> ... --> register_lapic_address,
so, is it for any corner case I am not aware?
--
Sincerely,
Cao jin
next reply other threads:[~2020-03-05 12:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-05 12:44 Cao jin [this message]
2020-03-07 11:27 ` Thomas Gleixner
2020-03-11 12:39 ` Cao jin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=978293b9-8e9f-55f6-6ec4-e2d66c4db0de@cn.fujitsu.com \
--to=caoj.fnst@cn.fujitsu.com \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®