Re: [patch V3 12/60] x86/of: Fix the APIC address registration
From: Thomas Gleixner
Date: Thu Aug 03 2023 - 19:35:21 EST
On Thu, Aug 03 2023 at 15:42, Dave Hansen wrote:
> On 8/1/23 03:46, Thomas Gleixner wrote:
>> The device tree APIC parser tries to force enable the local APIC when it is
>> not set in CPUID. apic_force_enable() registers the boot CPU apic on
>> success.
>
> I went looking for how this registration happens. I was expecting to
> see something apic_force_enable() do something similar to
> register_lapic_address().
>
> But the apic_force_enable()=>apic_verify() call chain is pretty shallow
> and I'm not seeing a lot of overlap.
apic_verify() ends up invoking register_lapic_address() on success, no?