[PATCH][2.5.73] enable local APIC on P4

Mikael Pettersson (mikpe@csd.uu.se)
Tue, 24 Jun 2003 00:29:36 +0200 (MEST)


The current local APIC code refuses to enable the local APIC
on a P4 if the BIOS booted us with the local APIC disabled.
This patch removes this unnecessary restriction. Please apply.

Most P4 machines do boot with the local APIC enabled, but
Keith Owens reported that the P4 based Compaq Evo N800v
disables the local APIC, even though the machine actually
works if Linux enables it.

It is possible that some P4 machines with broken BIOSen
were saved by our refusal to enable the local APIC. We
can handle them via the DMI blacklist rules instead.

/Mikael

--- linux-2.5.73/arch/i386/kernel/apic.c.~1~ 2003-06-17 12:51:19.000000000 +0200
+++ linux-2.5.73/arch/i386/kernel/apic.c 2003-06-23 23:00:20.000000000 +0200
@@ -616,7 +616,7 @@
goto no_apic;
case X86_VENDOR_INTEL:
if (boot_cpu_data.x86 == 6 ||
- (boot_cpu_data.x86 == 15 && cpu_has_apic) ||
+ boot_cpu_data.x86 == 15 ||
(boot_cpu_data.x86 == 5 && cpu_has_apic))
break;
goto no_apic;
-
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/