[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20171129033405.jkqe4riwckhrkznc@wfg-t540p.sh.intel.com>
Date: Wed, 29 Nov 2017 11:34:05 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...capital.net>, lkp@...org,
Ye Xiaolong <xiaolong.ye@...el.com>
Subject: 48a3b0cedb ("x86/entry/64: Create a percpu SYSCALL entry
trampoline"): WARNING:at_kernel/locking/lockdep.c:#check_flags
FYI, we noticed the following commit (built with gcc-6):
commit: 48a3b0cedbb099efea7bb977b6cd3728d0b58b38 ("x86/entry/64: Create a percpu SYSCALL entry trampoline")
https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/entry_stack
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------+------------+------------+
| | 74a91ed181 | 48a3b0cedb |
+--------------------------------------------------+------------+------------+
| boot_successes | 0 | 0 |
| boot_failures | 14 | 23 |
| genirq:Flags_mismatch_irq##(ttyS0)vs.#(sir_ir) | 14 | 23 |
| WARNING:at_kernel/locking/lockdep.c:#check_flags | 0 | 23 |
| RIP:check_flags | 0 | 23 |
+--------------------------------------------------+------------+------------+
[ 11.411590] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:3921 check_flags+0x19f/0x1b0
[ 11.414027] Modules linked in:
[ 11.414487] CPU: 0 PID: 1 Comm: init Not tainted 4.14.0-12905-g48a3b0c #2
[ 11.415492] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 11.416728] task: ffff88001b8ec040 task.stack: ffffc90000008000
[ 11.417618] RIP: 0010:check_flags+0x19f/0x1b0
[ 11.418367] RSP: 0018:ffffc9000000be50 EFLAGS: 00010086
[ 11.419148] RAX: 0000000000000000 RBX: ffff88001b8ec040 RCX: 0000000000000000
[ 11.420205] RDX: ffff88001b8ec040 RSI: 0000000000000000 RDI: ffffffff811496d3
[ 11.421273] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000001
[ 11.422331] R10: 0000000000000000 R11: fffffffffffffd75 R12: 0000000000000000
[ 11.423389] R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000000
[ 11.424443] FS: 0000000000000000(0000) GS:ffffffff8202c000(0000) knlGS:0000000000000000
[ 11.425637] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 11.426483] CR2: 00007fbd499caf3c CR3: 000000001f76f000 CR4: 00000000000006b0
[ 11.427533] Call Trace:
[ 11.427915] lock_acquire+0x162/0x1d0
[ 11.428468] vtime_user_exit+0x3c/0xc0
[ 11.429032] ? __context_tracking_exit+0x91/0x1e0
[ 11.429731] __context_tracking_exit+0x91/0x1e0
[ 11.430410] do_syscall_64+0x7a5/0x9f0
[ 11.430979] ? trace_hardirqs_on_thunk+0x1a/0x1c
[ 11.431673] entry_SYSCALL64_slow_path+0x25/0x25
[ 11.432364] RIP: 0033:0x7fbd499c6e7a
[ 11.432931] RSP: 002b:00007ffdb6d05988 EFLAGS: 00000246 ORIG_RAX: 000000000000000c
[ 11.434060] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007fbd499c6e7a
[ 11.435102] RDX: 0000000000000000 RSI: 00007fbd499cb720 RDI: 0000000000000000
[ 11.436188] RBP: 00000000078bfbfd R08: 00007ffdb6d05c49 R09: 00007ffdb6d8b000
[ 11.437229] R10: 000000000000037f R11: 0000000000000246 R12: 00007ffdb6d05c59
[ 11.438274] R13: 0000000000000000 R14: 0000558528dc8524 R15: 0000000000001000
[ 11.439327] Code: c6 26 a5 dd 81 48 c7 c7 1a 81 dc 81 e8 ab df f9 ff 0f ff e9 f3 fe ff ff 48 c7 c6 27 a5 dd 81 48 c7 c7 1a 81 dc 81 e8 91 df f9 ff <0f> ff e9 61 ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 48 8b 04 25
[ 11.442131] ---[ end trace 308fac764ae448e7 ]---
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,
Fengguang
View attachment "config-4.14.0-12905-g48a3b0c" of type "text/plain" (102283 bytes)
View attachment "job-script" of type "text/plain" (4044 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (20940 bytes)
Powered by blists - more mailing lists