Re: [PATCH] i386: add command line option "local_apic_timer_c2_ok"

From: Linus Torvalds
Date: Tue Mar 27 2007 - 17:45:56 EST




On Tue, 27 Mar 2007, Len Brown wrote:
>
> I think the only fool-proof way to do this automatically is to

Why not just take the known-good CPUID signature?

Screw firmware or ACPI tables. They're going to be occasionally wrong.

If we know that "Core 2, version X" has a good local APIC timer, we use
it. Otherwise we don't.

That's generally how we handle other APIC bugs too (the read-after-write
thing, for example, or the differences between integrated and off-chip
APIC's). Sometimes we check the APIC version itself, sometimes we check
the CPUID information, and sometimes we check both ("modern_apic()").

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/