Re: [patch 19/58] x86/apic: Get rid of apic_phys

From: Thomas Gleixner
Date: Tue Jul 18 2023 - 09:12:14 EST


On Tue, Jul 18 2023 at 01:15, Thomas Gleixner wrote:
> @@ -1921,7 +1922,6 @@ static __init void try_to_enable_x2apic(
> * be addressed must not be brought online.
> */
> x2apic_set_max_apicid(apic_limit);
> - x2apic_phys = 1;
> }
> x2apic_enable();
> }

This hunk is obviously bogus. I just noticed on a VM which takes this
code path...