]> git.baikalelectronics.ru Git - kernel.git/commit
x86/fpu: Add CONFIG_X86_DEBUG_FPU=y FPU debugging code
authorIngo Molnar <mingo@kernel.org>
Tue, 5 May 2015 09:34:49 +0000 (11:34 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 19 May 2015 13:48:12 +0000 (15:48 +0200)
commit24064a0bdde087f53796482c3741fe0acdf07b9e
tree8e1db79ae5c956db9a329ed1d76891d7c12535fd
parenta65005f184d87fbe1615544652138457784d63fe
x86/fpu: Add CONFIG_X86_DEBUG_FPU=y FPU debugging code

There are various internal FPU state debugging checks that never
trigger in practice, but which are useful for FPU code development.

Separate these out into CONFIG_X86_DEBUG_FPU=y, and also add a
couple of new ones.

The size difference is about 0.5K of code on defconfig:

   text        data     bss          filename
   15028906    2578816  1638400      vmlinux
   15029430    2578816  1638400      vmlinux

( Keep this enabled by default until the new FPU code is debugged. )

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig.debug
arch/x86/include/asm/fpu/internal.h
arch/x86/kernel/fpu/core.c
arch/x86/kernel/fpu/init.c
arch/x86/kernel/fpu/xstate.c