diff options
author | Linus Torvalds | 2020-08-03 17:21:10 -0700 |
---|---|---|
committer | Linus Torvalds | 2020-08-03 17:21:10 -0700 |
commit | 0a897743ac258927dd29bb91ac663b568f53429d (patch) | |
tree | c98ac1b01fe05dc48685fae3f8916ec6e7143cad /lib/Kconfig.debug | |
parent | 335ad94c218e96ef12f56d93eadc884731aa23b1 (diff) | |
parent | 4185b3b92792eaec5869266e594338343421ffb0 (diff) |
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 |