FYI, we noticed the following commit:
commit: bc2a73c243d6adbb089de6c09a7aff1ae8ac645d ("perf/core: remove useless cast
when comparing")
url:
https://github.com/0day-ci/linux/commits/Mars-Cheng/perf-core-remove-usel...
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-i386 -enable-kvm -m 320M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------------+------------+------------+
| | b6263178b8 | bc2a73c243 |
+------------------------------------------------------+------------+------------+
| boot_successes | 14 | 7 |
| boot_failures | 2 | 9 |
| BUG:kernel_reboot-without-warning_in_test_stage | 2 | 1 |
| WARNING:at_include/linux/cpumask.h:#find_get_context | 0 | 8 |
| BUG:unable_to_handle_kernel | 0 | 8 |
| Oops | 0 | 8 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 8 |
+------------------------------------------------------+------------+------------+
[ 180.446116] WARNING: CPU: 0 PID: 1432 at include/linux/cpumask.h:121
find_get_context+0x66/0x1f2
[ 180.502044] Modules linked in:
[ 180.514134] CPU: 0 PID: 1432 Comm: trinity-main Not tainted 4.10.0-rc6-00189-gbc2a73c2
#2
[ 180.531792] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 180.552398] Call Trace:
[ 180.559045] dump_stack+0x58/0x72
[ 180.567078] ? find_get_context+0x66/0x1f2
[ 180.576443] __warn+0xb2/0xc9
[ 180.583902] warn_slowpath_null+0x11/0x16
[ 180.593006] find_get_context+0x66/0x1f2
[ 180.601982] ? SyS_perf_event_open+0x4c5/0xc51
[ 180.611701] SyS_perf_event_open+0x5f6/0xc51
[ 180.621237] do_int80_syscall_32+0x47/0x8e
[ 180.630666] entry_INT80_32+0x2a/0x2a
[ 180.639221] EIP: 0x8090aa2
[ 180.646343] EFLAGS: 00000286 CPU: 0
[ 180.654643] EAX: ffffffda EBX: 08a24a78 ECX: ffffffff EDX: ffffffff
[ 180.667481] ESI: 0000011a EDI: 00000001 EBP: 0000011c ESP: bfbfc288
[ 180.680152] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 180.691684] ---[ end trace c7d7fa25409a3428 ]---
To reproduce:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this
email
Thanks,
Xiaolong