mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Is this code chunk in init_apic_mappings() superfluous?
@ 2020-03-05 12:44 Cao jin
  2020-03-07 11:27 ` Thomas Gleixner
  0 siblings, 1 reply; 3+ messages in thread
From: Cao jin @ 2020-03-05 12:44 UTC (permalink / raw)
  To: X86 ML, LKML; +Cc: Thomas Gleixner, Ingo Molnar, Borislav Petkov

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-11 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 12:44 Is this code chunk in init_apic_mappings() superfluous? Cao jin
2020-03-07 11:27 ` Thomas Gleixner
2020-03-11 12:39   ` Cao jin

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®