FYI, we noticed the following commit:
commit: 8d3e268d89523abba613763da67c7eb47a744ad7 ("x86/fpu: Rename
fpu__activate_fpstate_read/write() to fpu__read/write()")
git://internal_merge_and_test_tree
revert-8d3e268d89523abba613763da67c7eb47a744ad7-8d3e268d89523abba613763da67c7eb47a744ad7
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url:
http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-x86_64 -enable-kvm -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-------------------------------------------------------------------+------------+------------+
| | 0840a027e5 |
8d3e268d89 |
+-------------------------------------------------------------------+------------+------------+
| boot_successes | 73 | 56
|
| boot_failures | 3 | 20
|
| WARNING:at_arch/x86/kernel/fpu/core.c:#fpu__activate_fpstate_read | 3 |
|
| EIP:fpu__activate_fpstate_read | 3 |
|
| WARNING:at_arch/x86/kernel/fpu/core.c:#fpu__read | 0 | 20
|
| EIP:fpu__read | 0 | 20
|
+-------------------------------------------------------------------+------------+------------+
[ 12.713252] WARNING: CPU: 0 PID: 616 at arch/x86/kernel/fpu/core.c:250
fpu__read+0x37/0xbe
[ 12.721482] CPU: 0 PID: 616 Comm: netifd Not tainted 4.14.0-rc1-00226-g8d3e268 #1
LKP: HOSTNAME vm-lkp-nhm-dp1-openwrt-ia32-7, MAC , kernel 4.14.0-rc1-00226-g8d3e268 1,
serial console /dev/ttyS0
[ 12.730026] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 12.734625] task: d63be880 task.stack: d6c88000
[ 12.737052] EIP: fpu__read+0x37/0xbe
[ 12.737806] EFLAGS: 00010246 CPU: 0
[ 12.743772] EAX: d58b08f0 EBX: d63bed80 ECX: 00000000 EDX: 00000000
[ 12.747964] ESI: d63bed80 EDI: 00000001 EBP: d6c89c04 ESP: d6c89bf8
[ 12.751027] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068
[ 12.751928] CR0: 80050033 CR2: 080961ec CR3: 16f65000 CR4: 00000690
[ 12.755168] Call Trace:
[ 12.755784] fpregs_get+0x28/0x111
[ 12.760017] ? update_curr+0x158/0x213
[ 12.760866] ? __kmalloc+0x14c/0x1a4
[ 12.762225] elf_core_dump+0x510/0x122a
[ 12.762972] do_coredump+0x897/0xbde
[ 12.767152] ? kmem_cache_free+0x9f/0xe7
[ 12.767926] get_signal+0x5fb/0x634
[ 12.769521] do_signal+0x1e/0x61c
[ 12.773018] ? wake_up_state+0xf/0x11
[ 12.773765] ? signal_wake_up_state+0x13/0x15
[ 12.775179] ? complete_signal+0x145/0x1e3
[ 12.775950] ? force_sig_info+0x8e/0xc8
[ 12.780129] ? force_sig+0x14/0x16
[ 12.780847] ? signal_fault+0x9e/0xa6
[ 12.782164] ? sys_sigreturn+0x101/0x10b
[ 12.782933] exit_to_usermode_loop+0x4b/0xa2
[ 12.786544] do_int80_syscall_32+0x13b/0x143
[ 12.787463] entry_INT80_32+0x2f/0x2f
[ 12.788655] EIP: 0xb7e9e9b5
[ 12.792134] EFLAGS: 00000246 CPU: 0
[ 12.792854] EAX: 00000000 EBX: 00000003 ECX: b7f2b70c EDX: 0000000a
[ 12.794485] ESI: 00000313 EDI: 000003e8 EBP: bfe382c8 ESP: bfe3825c
[ 12.798462] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 12.799514] Code: c3 8b 35 6c 30 76 d5 81 c6 00 05 00 00 31 c0 39 de 0f 94 c0 89 c7 6a
00 31 c9 89 fa b8 f0 08 8b d5 e8 e1 6f 09 00 5a 39 de 75 02 <0f> ff 6a 00 31 c9 89
fa b8 d8 08 8b d5 e8 ca 6f 09 00 58 80 7b
[ 12.805682] ---[ end trace 82489b7e11edd8dd ]---
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
Xiaolong