Re: [tip:x86/apic] x86/acpi: Introduce persistent storage for cpuid <-> apicid mapping

From: Thomas Gleixner
Date: Fri Oct 07 2016 - 07:06:55 EST


On Thu, 6 Oct 2016, Yinghai Lu wrote:
> Yes, that should work. but should do the same thing for x2apic
>
> in acpi_parse_x2apic should have
>
> > + if (processor->local_apic_id == -1) {
> > + ++disabled_cpus;
> > + return -EINVAL;
> > + }

So that means, that x2apic_apic_id_valid() is wrong as well ....