android_kernel_motorola_sm6225/arch/i386/kernel/cpu
Linus Torvalds 8ccb3dcd1f x86: Fix booting with "no387 nofxsr"
Jesper Juhl reported that testing the software math-emulation by forcing
"no387" doesn't work on modern CPU's.

The reason was two-fold:
 - you also need to pass in "nofxsr" to make sure that we not only don't
   touch the old i387 legacy hardware, it also needs to disable the
   modern XMM/FXSR sequences
 - "nofxsr" didn't actually clear the capability bits immediately,
   leaving the early boot sequence still using FXSR until we got to
   the identify_cpu() stage.

This fixes the "nofxsr" flag to take effect immediately on the boot CPU.

Debugging by Randy Dunlap

Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-10-03 09:47:14 -07:00
..
cpufreq [CPUFREQ] Make acpi-cpufreq unsticky again. 2006-09-30 23:19:38 -04:00
mcheck [PATCH] x86: Add a cumulative thermal throttle event counter. 2006-09-26 10:52:42 +02:00
mtrr [PATCH] mtrr: Add lock annotations for prepare_set and post_set 2006-09-26 08:48:57 -07:00
amd.c [PATCH] i386: mark cpu cache functions as __cpuinit 2006-09-26 10:52:36 +02:00
centaur.c [PATCH] i386: mark cpu cache functions as __cpuinit 2006-09-26 10:52:36 +02:00
common.c x86: Fix booting with "no387 nofxsr" 2006-10-03 09:47:14 -07:00
cpu.h [PATCH] i386: remove redundant generic_identify() calls when identifying cpus 2006-09-26 10:52:36 +02:00
cyrix.c [PATCH] i386: mark cpu identify functions as __cpuinit 2006-09-26 10:52:36 +02:00
intel.c [PATCH] i386: mark cpu cache functions as __cpuinit 2006-09-26 10:52:36 +02:00
intel_cacheinfo.c [PATCH] cpu hotplug: use hotplug version of registration in late inits 2006-07-31 13:28:39 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nexgen.c [PATCH] i386: mark cpu identify functions as __cpuinit 2006-09-26 10:52:36 +02:00
proc.c [PATCH] i386/x86-64: New Intel feature flags 2006-09-26 10:52:42 +02:00
rise.c [PATCH] i386: mark cpu init functions as __cpuinit, data as __cpuinitdata 2006-09-26 10:52:36 +02:00
transmeta.c [PATCH] i386: mark cpu identify functions as __cpuinit 2006-09-26 10:52:36 +02:00
umc.c [PATCH] i386: mark cpu init functions as __cpuinit, data as __cpuinitdata 2006-09-26 10:52:36 +02:00