diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-04 02:21:10 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-08-04 02:21:10 +0200 |
commit | 0a897743ac258927dd29bb91ac663b568f53429d (patch) | |
tree | c98ac1b01fe05dc48685fae3f8916ec6e7143cad /lib/Kconfig.debug | |
parent | Merge tag 'x86-cpu-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
parent | selftests/fpu: Add an FPU selftest (diff) | |
download | linux-0a897743ac258927dd29bb91ac663b568f53429d.tar.xz linux-0a897743ac258927dd29bb91ac663b568f53429d.zip |
Merge tag 'x86-fpu-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 FPU selftest from Ingo Molnar:
"Add the /sys/kernel/debug/selftest_helpers/test_fpu FPU self-test"
* tag 'x86-fpu-2020-08-03' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
selftests/fpu: Add an FPU selftest
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1da566baecc9..3e64a8a809f9 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2314,6 +2314,17 @@ config TEST_HMM If unsure, say N. +config TEST_FPU + tristate "Test floating point operations in kernel space" + depends on X86 && !KCOV_INSTRUMENT_ALL + help + Enable this option to add /sys/kernel/debug/selftest_helpers/test_fpu + which will trigger a sequence of floating point operations. This is used + for self-testing floating point control register setting in + kernel_fpu_begin(). + + If unsure, say N. + endif # RUNTIME_TESTING_MENU config MEMTEST |