[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 10 Oct 2017 20:14:22 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andy Lutomirski <luto@...capital.net>, lkp@...org
Subject: [lkp-robot] [x86/mm] f2a27fea9e:
WARNING:at_arch/x86/mm/tlb.c:#switch_to_init_mm_irqs_off
FYI, we noticed the following commit (built with gcc-4.9):
commit: f2a27fea9e0d12b1719cb03466c3133b88dba76e ("x86/mm: Optimize switches to init_mm")
https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/fixes
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------+------------+------------+
| | 9b51e59012 | f2a27fea9e |
+----------------------------------------------------------+------------+------------+
| boot_successes | 2 | 0 |
| boot_failures | 6 | 8 |
| IP-Config:Auto-configuration_of_network_failed | 6 | 6 |
| WARNING:at_arch/x86/mm/tlb.c:#switch_mm_irqs_off | 4 | 4 |
| BUG:kernel_hang_in_test_stage | 0 | 2 |
| WARNING:at_arch/x86/mm/tlb.c:#switch_to_init_mm_irqs_off | 0 | 4 |
+----------------------------------------------------------+------------+------------+
[ 372.695410] WARNING: CPU: 1 PID: 196 at arch/x86/mm/tlb.c:153 switch_mm_irqs_off+0x263/0x300
[ 372.711286] CPU: 1 PID: 196 Comm: systemd-getty-g Not tainted 4.14.0-rc2-00048-gf2a27fe #150
[ 372.726423] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 372.740354] task: ffff880116370000 task.stack: ffffc90002be4000
[ 372.750342] RIP: 0010:switch_mm_irqs_off+0x263/0x300
[ 372.760450] RSP: 0018:ffffc90002be7e40 EFLAGS: 00010202
[ 372.770588] RAX: 0000000000000246 RBX: ffffffff83449540 RCX: ffffc90002be7c60
[ 372.781998] RDX: 0000000000000001 RSI: ffffffff83449540 RDI: 0000000000000000
[ 372.794674] RBP: ffffc90002be7e68 R08: 0000000000000001 R09: 0000000000000000
[ 372.808635] R10: 0000000000000001 R11: ffff8801163721b8 R12: ffff880115a31380
[ 372.821473] R13: ffff880115a31380 R14: ffff880115a318f0 R15: ffff8801163703c8
[ 372.839423] FS: 0000000000000000(0000) GS:ffff88013b400000(0000) knlGS:0000000000000000
[ 372.858935] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 372.875164] CR2: 00007fce856a0190 CR3: 0000000115acd004 CR4: 00000000000206a0
[ 372.893670] Call Trace:
[ 372.905563] enter_lazy_tlb+0x29/0x40
[ 372.919271] do_exit+0x337/0xae0
[ 372.930966] ? __context_tracking_exit+0x50/0x60
[ 372.942151] do_group_exit+0x42/0xb0
[ 372.950572] SyS_exit_group+0xf/0x10
[ 372.959650] do_syscall_64+0x67/0x210
[ 372.970722] entry_SYSCALL64_slow_path+0x25/0x25
[ 372.994935] RIP: 0033:0x7fce856a01c8
[ 373.007536] RSP: 002b:00007fff99ce37e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 373.024038] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fce856a01c8
[ 373.036832] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
[ 373.044201] ------------[ cut here ]------------
[ 373.044261] WARNING: CPU: 0 PID: 197 at arch/x86/mm/tlb.c:96 switch_to_init_mm_irqs_off+0x149/0x190
[ 373.044295] CPU: 0 PID: 197 Comm: systemd-system- Not tainted 4.14.0-rc2-00048-gf2a27fe #150
[ 373.044302] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 373.044332] task: ffff880116373200 task.stack: ffffc90002bec000
[ 373.044363] RIP: 0010:switch_to_init_mm_irqs_off+0x149/0x190
[ 373.044391] RSP: 0018:ffffc90002befe28 EFLAGS: 00010202
[ 373.044428] RAX: 0000000000000246 RBX: ffff880115ae2700 RCX: ffffc90002befc60
[ 373.044457] RDX: 0000000000000000 RSI: ffffffff83449540 RDI: 0000000000000000
[ 373.044465] RBP: ffffc90002befe30 R08: 0000000000000001 R09: 0000000000000000
[ 373.044494] R10: 0000000000000001 R11: ffff8801163753b8 R12: ffff880115ae2700
[ 373.044522] R13: ffff880115ae2700 R14: ffff880115ae2c70 R15: ffff8801163735c8
[ 373.044553] FS: 0000000000000000(0000) GS:ffff88013b200000(0000) knlGS:0000000000000000
[ 373.044562] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 373.044591] CR2: 00007f553b7a79f4 CR3: 0000000115b67006 CR4: 00000000000206b0
[ 373.044627] Call Trace:
[ 373.044659] switch_mm_irqs_off+0x2d8/0x300
[ 373.044690] enter_lazy_tlb+0x29/0x40
[ 373.044723] do_exit+0x337/0xae0
[ 373.044758] ? __context_tracking_exit+0x50/0x60
[ 373.044789] do_group_exit+0x42/0xb0
[ 373.044819] SyS_exit_group+0xf/0x10
[ 373.044852] do_syscall_64+0x67/0x210
[ 373.044886] entry_SYSCALL64_slow_path+0x25/0x25
[ 373.044916] RIP: 0033:0x7f553cc6a1c8
[ 373.044945] RSP: 002b:00007ffc69338a18 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 373.044981] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f553cc6a1c8
[ 373.045048] RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
[ 373.045079] RBP: 00007f553cf4a8e0 R08: 00000000000000e7 R09: ffffffffffffff00
[ 373.045108] R10: 00007f553b33b160 R11: 0000000000000246 R12: 00007f553cf4a8e0
[ 373.045137] R13: 00007f553cf4fc40 R14: 0000000000000000 R15: 0000000000000000
[ 373.045145] Code: 00 85 c0 74 9e 8b 05 b7 a1 8a 03 85 c0 75 94 48 c7 c6 1d 05 ef 82 48 c7 c7 2b 05 ef 82 31 c0 e8 0f b1 0d 00 0f ff e9 78 ff ff ff <0f> ff e9 d4 fe ff ff 0f ff e9 ef fe ff ff 48 8b 35 62 3e 3f 02
[ 373.046439] ---[ end trace 0024f1539d9916f1 ]---
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
View attachment "config-4.14.0-rc2-00048-gf2a27fe" of type "text/plain" (120015 bytes)
View attachment "job-script" of type "text/plain" (4256 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (20296 bytes)
Powered by blists - more mailing lists