Messages in this thread | | | Date | Fri, 12 Aug 2005 20:22:28 +0200 | From | Andi Kleen <> | Subject | Re: APIC version and 8-bit APIC IDs |
| |
> --- linux-2.6.13-rc6/arch/x86_64/kernel/mpparse.c~ 2005-08-12 10:19:07.037696416 -0700 > +++ linux-2.6.13-rc6/arch/x86_64/kernel/mpparse.c 2005-08-12 10:19:38.098974384 -0700 > @@ -707,7 +707,7 @@ > > processor.mpc_type = MP_PROCESSOR; > processor.mpc_apicid = id; > - processor.mpc_apicver = 0x10; /* TBD: lapic version */ > + processor.mpc_apicver = GET_APIC_VERSION(apic_read(APIC_LVR));
That code executes on the BP. What happens when different CPUs have different APIC versions? Not sure if that can happen, but it still looks a bit like "cheating.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |