linux-stable-rt/arch/i386/kernel
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
..
acpi
cpu x86: Fix booting with "no387 nofxsr" 2006-10-03 09:47:14 -07:00
.gitignore
Makefile
alternative.c
apic.c
apm.c [PATCH] kthread: convert arch/i386/kernel/apm.c 2006-09-29 09:18:12 -07:00
asm-offsets.c
bootflag.c
cpuid.c
crash.c [PATCH] stack overflow safe kdump: safe smp_send_nmi_allbutself() 2006-10-01 00:39:31 -07:00
crash_dump.c
doublefault.c
early_printk.c
efi.c [PATCH] efi: add lock annotations for efi_call_phys_prelog and efi_call_phys_epilog 2006-09-29 09:18:07 -07:00
efi_stub.S [PATCH] x86: remove unused include from efi_stub.S 2006-09-26 08:48:56 -07:00
entry.S
head.S
hpet.c
i386_ksyms.c
i387.c
i8237.c [PATCH] mmc (mainly): add "or later" clause to licence statement. 2006-10-01 00:39:23 -07:00
i8253.c
i8259.c
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
io_apic.c
ioport.c
irq.c
kprobes.c [PATCH] kretprobe spinlock deadlock patch 2006-10-02 07:57:16 -07:00
ldt.c
machine_kexec.c
mca.c
microcode.c [PATCH] x86 microcode: don't check the size 2006-09-27 08:26:18 -07:00
module.c
mpparse.c
msr.c
nmi.c [PATCH] Some config.h removals 2006-10-01 00:39:34 -07:00
numaq.c
pci-dma.c
process.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
ptrace.c
quirks.c
reboot.c [PATCH] x86: remove locally-defined ldt structure in favour of standard type 2006-09-26 08:48:55 -07:00
reboot_fixups.c
relocate_kernel.S
scx200.c
setup.c [PATCH] i386: replace intermediate array-size definitions with ARRAY_SIZE() 2006-09-30 01:47:55 +02:00
sigframe.h
signal.c
smp.c [PATCH] stack overflow safe kdump: safe_smp_processor_id() 2006-10-01 00:39:30 -07:00
smpboot.c [PATCH] cpumask: export node_to_cpu_mask consistently 2006-10-02 07:57:17 -07:00
srat.c [PATCH] convert i386 Summit subarch to use SRAT info for apicid_to_node calls 2006-09-29 09:18:03 -07:00
summit.c
sys_i386.c [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
syscall_table.S
sysenter.c
time.c [PATCH] kill wall_jiffies 2006-10-01 00:39:27 -07:00
time_hpet.c [PATCH] hpet rtc emulation: add watchdog timer 2006-09-26 08:48:54 -07:00
topology.c
trampoline.S
traps.c [PATCH] namespaces: utsname: use init_utsname when appropriate 2006-10-02 07:57:21 -07:00
tsc.c
vm86.c
vmlinux.lds.S [PATCH] x86: put .note.* sections into a PT_NOTE segment in vmlinux 2006-09-26 08:48:55 -07:00
vsyscall-int80.S
vsyscall-note.S
vsyscall-sigreturn.S
vsyscall-sysenter.S
vsyscall.S
vsyscall.lds.S