[lkp-robot] [sched] 106b167fed: perf-bench-sched-pipe.ops_per_sec -30.0% regression
by kernel test robot
Greeting,
FYI, we noticed a -30.0% regression of perf-bench-sched-pipe.ops_per_sec due to commit:
commit: 106b167fed0c54a1f9db472c910979d65fcfd629 ("sched: force update of blocked load of idle cpus")
git://internal_merge_and_test_tree devel-catchup-201710171950
in testcase: perf-bench-sched-pipe
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 4 -m 5G
with following parameters:
loops: 10000000ops
mode: threads
Details are as below:
-------------------------------------------------------------------------------------------------->
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
testcase/path_params/tbox_group/run: perf-bench-sched-pipe/10000000ops-threads/vm-lkp-a03
6be53520ad8f87dc 106b167fed0c54a1f9db472c91
---------------- --------------------------
%stddev change %stddev
\ | \
841 44% 1207 perf-bench-sched-pipe.time.system_time
922 43% 1317 perf-bench-sched-pipe.time.elapsed_time
922 43% 1317 perf-bench-sched-pipe.time.elapsed_time.max
45.47 ± 5% 22% 55.51 ± 4% perf-bench-sched-pipe.time.user_time
10846 -30% 7594 perf-bench-sched-pipe.ops_per_sec
80.65 82.48 boot-time.boot
215 219 boot-time.idle
18404 51% 27787 vmstat.system.in
40466 -24% 30902 vmstat.system.cs
perf-bench-sched-pipe.ops_per_sec
11500 +-+-----------------------------------------------------------------+
|.. .. +..+. +..+.. .+.. .+. +.. +. |
11000 +-++ +. +.+. +.. .. |
10500 +-+ + |
| |
10000 +-+ |
9500 +-+ |
| |
9000 +-+ |
8500 +-+ |
| |
8000 +-+ |
7500 O-+O O O O O O O O O O O O O O O O O O O O |
| |
7000 +-+-----------------------------------------------------------------+
perf-bench-sched-pipe.time.system_time
1250 +-+------O-----------------------------------------------------------+
1200 O-+O O O O O O O O O O O O O O |
| O O O O O |
1150 +-+ |
1100 +-+ |
| |
1050 +-+ |
1000 +-+ |
950 +-+ |
| |
900 +-+ |
850 +-+ .+..+.. .+..+.. |
|..+..+..+..+..+..+..+..+..+..+. +..+..+..+..+.. .+. +..|
800 +-+ +. |
750 +-+------------------------------------------------------------------+
perf-bench-sched-pipe.time.elapsed_time
1350 +-+------O-----------------------------------------------------------+
1300 O-+O O O O O O O O O O O O O O O |
| O O O O |
1250 +-+ |
1200 +-+ |
| |
1150 +-+ |
1100 +-+ |
1050 +-+ |
| |
1000 +-+ |
950 +-+ .+.. |
| .+.. .+.. .+..+..+.. .+. |
900 +-+ +..+..+..+..+..+..+. +. +..+..+..+..+..+. +..|
850 +-+------------------------------------------------------------------+
perf-bench-sched-pipe.time.elapsed_time.max
1350 +-+------O-----------------------------------------------------------+
1300 O-+O O O O O O O O O O O O O O O |
| O O O O |
1250 +-+ |
1200 +-+ |
| |
1150 +-+ |
1100 +-+ |
1050 +-+ |
| |
1000 +-+ |
950 +-+ .+.. |
| .+.. .+.. .+..+..+.. .+. |
900 +-+ +..+..+..+..+..+..+. +. +..+..+..+..+..+. +..|
850 +-+------------------------------------------------------------------+
vmstat.system.in
30000 +-+-----------------------------------------------------------------+
| O O |
28000 O-+O O O O O O O O O O O O O O O O |
| O O |
26000 +-+ |
| |
24000 +-+ |
| |
22000 +-+ |
| |
20000 +-+ |
|..+..+.. .+.. .+.. .+.+..+..+.. .+.. |
18000 +-+ +. +..+. +..+..+. +. +..+..+..+..+.. .|
| +. |
16000 +-+-----------------------------------------------------------------+
[*] bisect-good sample
[O] bisect-bad sample
Disclaimer:
Results have been estimated based on internal Intel analysis and are provided
for informational purposes only. Any difference in system hardware or software
design or configuration may affect actual performance.
Thanks,
Xiaolong
3 years, 2 months
[lkp-robot] [posix] 85579f59b7: WARNING:at_kernel/time/posix-cpu-timers.c:#run_posix_cpu_timers
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: 85579f59b7609e50590e8d8686ea7fd0c91b9b20 ("posix-cpu-timers: Use lockdep to assert IRQs are disabled/enabled")
https://git.kernel.org/cgit/linux/kernel/git/frederic/linux-dynticks.git lockdep/irq
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 -m 420M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+-----------------------------------------------------------------+------------+------------+
| | e26b18659f | 85579f59b7 |
+-----------------------------------------------------------------+------------+------------+
| boot_successes | 60 | 36 |
| boot_failures | 4 | 4 |
| WARNING:at_kernel/sched/clock.c:#sched_clock_tick | 4 | 3 |
| EIP:sched_clock_tick | 4 | 3 |
| EIP:sysrq_handle_reboot | 3 | 1 |
| WARNING:at_kernel/events/core.c:#perf_event_task_tick | 4 | 4 |
| EIP:perf_event_task_tick | 4 | 4 |
| WARNING:at_kernel/softirq.c:#__local_bh_enable | 4 | 4 |
| EIP:__local_bh_enable | 4 | 4 |
| EIP:emergency_restart | 1 | 2 |
| WARNING:at_kernel/time/posix-cpu-timers.c:#run_posix_cpu_timers | 0 | 4 |
| EIP:run_posix_cpu_timers | 0 | 4 |
| EIP:kmsg_dump | 0 | 1 |
+-----------------------------------------------------------------+------------+------------+
[ 1455.694263] WARNING: CPU: 0 PID: 834 at kernel/time/posix-cpu-timers.c:1127 run_posix_cpu_timers+0x40e/0x780
[ 1455.694263] Modules linked in:
[ 1455.694263] CPU: 0 PID: 834 Comm: lkp-setup-rootf Tainted: G W 4.14.0-rc4-00570-g85579f5 #2
[ 1455.694263] task: d6128000 task.stack: d612a000
[ 1455.694263] EIP: run_posix_cpu_timers+0x40e/0x780
[ 1455.694263] EFLAGS: 00000002 CPU: 0
[ 1455.694263] EAX: 0000001d EBX: d6128000 ECX: c179a160 EDX: 00000007
[ 1455.694263] ESI: 00000000 EDI: 00000152 EBP: c0093f70 ESP: c0093f10
[ 1455.694263] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 1455.694263] CR0: 80050033 CR2: b7f19dc4 CR3: 15f07320 CR4: 000006b0
[ 1455.694263] Call Trace:
[ 1455.694263] <IRQ>
[ 1455.694263] ? perf_event_task_tick+0x26a/0x320
[ 1455.694263] ? scheduler_tick+0x70/0x80
[ 1455.694263] update_process_times+0x3f/0x50
[ 1455.694263] tick_nohz_handler+0x98/0x130
[ 1455.694263] timer_interrupt+0xd/0x20
[ 1455.694263] __handle_irq_event_percpu+0x62/0x100
[ 1455.694263] handle_irq_event_percpu+0x19/0x50
[ 1455.694263] handle_irq_event+0x29/0x50
[ 1455.694263] ? unmask_irq+0x30/0x30
[ 1455.694263] handle_level_irq+0x72/0x120
[ 1455.694263] handle_irq+0x90/0xb0
[ 1455.694263] </IRQ>
[ 1455.694263] do_IRQ+0x38/0x94
[ 1455.694263] common_interrupt+0x40/0x50
[ 1455.694263] EIP: sysrq_handle_reboot+0xd/0x30
[ 1455.694263] EFLAGS: 00000202 CPU: 0
[ 1455.694263] EAX: c12c114d EBX: 00000062 ECX: d6128000 EDX: 00000001
[ 1455.694263] ESI: 00000000 EDI: 0000000a EBP: d612bea0 ESP: d612bea0
[ 1455.694263] DS: 007b ES: 007b FS: 0000 GS: 00e0 SS: 0068
[ 1455.694263] ? sysrq_handle_reboot+0xd/0x30
[ 1455.694263] __handle_sysrq+0xfa/0x160
[ 1455.694263] ? sysrq_filter+0x3b0/0x3b0
[ 1455.694263] write_sysrq_trigger+0x3e/0x50
[ 1455.694263] proc_reg_write+0x44/0x90
[ 1455.694263] ? proc_reg_poll+0x80/0x80
[ 1455.694263] __vfs_write+0x1c/0x120
[ 1455.694263] ? rcu_read_lock_sched_held+0x2e/0x60
[ 1455.694263] ? rcu_sync_lockdep_assert+0x2c/0x50
[ 1455.694263] ? __sb_start_write+0xaf/0x1a0
[ 1455.694263] ? vfs_write+0x172/0x1c0
[ 1455.694263] vfs_write+0x9a/0x1c0
[ 1455.694263] SyS_write+0x3d/0x90
[ 1455.694263] do_int80_syscall_32+0x53/0x1e0
[ 1455.694263] entry_INT80_32+0x36/0x36
[ 1455.694263] EIP: 0xb7efde1e
[ 1455.694263] EFLAGS: 00000246 CPU: 0
[ 1455.694263] EAX: ffffffda EBX: 00000001 ECX: 09170940 EDX: 00000002
[ 1455.694263] ESI: 09170940 EDI: 00000002 EBP: bfd7ef84 ESP: bfd7ef64
[ 1455.694263] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
[ 1455.694263] Code: 75 fc ff ff 89 f6 8d bc 27 00 00 00 00 80 3d 6b 9e 7f c1 00 0f 85 33 fc ff ff 68 7c 39 5b c1 c6 05 6b 9e 7f c1 01 e8 d9 82 fe ff <0f> ff 5f e9 1a fc ff ff 8d 76 00 8d bc 27 00 00 00 00 0f 82 8a
[ 1455.694263] ---[ end trace abd7dcbfb41396b0 ]---
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
3 years, 2 months
[lkp-robot] [x86/topology] 379a4bb988: dmesg.WARNING:at_arch/x86/events/intel/uncore.c:#uncore_change_type_ctx
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: 379a4bb9880608931642e1b4208380468d347b84 ("x86/topology: Avoid wasting 128k for package id array")
url: https://github.com/0day-ci/linux/commits/Prarit-Bhargava/x86-smpboot-Clea...
in testcase: ltp
with following parameters:
test: cpuhotplug
test-description: The LTP testsuite contains a collection of tools for testing the Linux kernel and related features.
test-url: http://linux-test-project.github.io/
on test machine: 88 threads Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz with 64G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
kern :warn : [ 119.686133] ------------[ cut here ]------------
kern :warn : [ 119.692171] WARNING: CPU: 0 PID: 13 at arch/x86/events/intel/uncore.c:1058 uncore_change_type_ctx+0xf0/0x100
kern :warn : [ 119.706707] Modules linked in: loop rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver intel_rapl sb_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel mgag200 ghash_clmulni_intel ttm pcbc drm_kms_helper ahci syscopyarea snd_pcm sysfillrect libahci sysimgblt snd_timer fb_sys_fops aesni_intel snd crypto_simd drm soundcore glue_helper mxm_wmi cryptd pcspkr libata shpchp ipmi_si ipmi_devintf wmi acpi_power_meter acpi_pad ipmi_msghandler ip_tables
kern :warn : [ 119.760794] CPU: 0 PID: 13 Comm: cpuhp/0 Not tainted 4.14.0-rc2-00278-g379a4bb #4
kern :warn : [ 119.770093] Hardware name: Intel Corporation S2600KPR/S2600KPR, BIOS SE5C610.86B.01.01.0019.101220160604 10/12/2016
kern :warn : [ 119.782751] task: ffff88085ac34d00 task.stack: ffffc900066a8000
kern :warn : [ 119.790391] RIP: 0010:uncore_change_type_ctx+0xf0/0x100
kern :warn : [ 119.798042] RSP: 0018:ffffc900066abd68 EFLAGS: 00010213
kern :warn : [ 119.804941] RAX: ffff88085a4062c0 RBX: ffff8810300c7e00 RCX: 0000000000000008
kern :warn : [ 119.814013] RDX: ffff88085f200000 RSI: ffff881006313000 RDI: ffffffff81e1e68c
kern :warn : [ 119.823100] RBP: ffffc900066abda0 R08: ffffffff81e1e68c R09: 0000000000000000
kern :warn : [ 119.832216] R10: 0000000000000040 R11: ffff88085e800dd8 R12: ffff881006313000
kern :warn : [ 119.841349] R13: 0000000000000000 R14: ffffffffffffffff R15: 0000000000000000
kern :warn : [ 119.850494] FS: 0000000000000000(0000) GS:ffff88085f200000(0000) knlGS:0000000000000000
kern :warn : [ 119.860730] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kern :warn : [ 119.868371] CR2: 00007fe0803ef5f8 CR3: 000000107ee09001 CR4: 00000000003606f0
kern :warn : [ 119.877593] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
kern :warn : [ 119.886832] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
kern :warn : [ 119.896077] Call Trace:
kern :warn : [ 119.900102] uncore_event_cpu_online+0x3be/0x410
kern :warn : [ 119.906572] ? uncore_pci_remove+0x120/0x120
kern :warn : [ 119.912664] ? smpboot_thread_fn+0x34/0x1f0
kern :warn : [ 119.918678] cpuhp_invoke_callback+0xac/0x5a0
kern :warn : [ 119.924899] ? schedule+0x3d/0x90
kern :warn : [ 119.929956] ? smpboot_thread_fn+0x34/0x1f0
kern :warn : [ 119.935999] ? smpboot_thread_fn+0x12d/0x1f0
kern :warn : [ 119.942145] cpuhp_thread_fun+0xc3/0x150
kern :warn : [ 119.947913] smpboot_thread_fn+0x128/0x1f0
kern :warn : [ 119.953887] kthread+0x114/0x150
kern :warn : [ 119.958896] ? sort_range+0x30/0x30
kern :warn : [ 119.964208] ? kthread_create_on_node+0x40/0x40
kern :warn : [ 119.970701] ret_from_fork+0x25/0x30
kern :warn : [ 119.976135] Code: 2a 44 89 7b 14 41 83 c5 01 49 81 c4 40 01 00 00 45 3b 28 7c d0 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f ff e9 70 ff ff ff <0f> ff eb d2 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00
kern :warn : [ 120.000322] ---[ end trace 4726a088b85ceb1c ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
3 years, 2 months
[kaiser] 44890ec439 [ 18.003440] WARNING: CPU: 0 PID: 1 at arch/x86/include/asm/tlbflush.h:354 native_flush_tlb
by Fengguang Wu
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/daveh/x86-pkeys.git kaiser-20171025004
commit 44890ec4399af858277fbac59952037cc79f76f0
Author: Dave Hansen <dave.hansen(a)intel.com>
AuthorDate: Wed Oct 25 17:14:46 2017 -0700
Commit: Dave Hansen <dave.hansen(a)intel.com>
CommitDate: Wed Oct 25 17:14:46 2017 -0700
kaiser-20171025004
bb176f6709 Linux 4.14-rc6
44890ec439 kaiser-20171025004
+--------------------------------------------------------------+-----------+------------+
| | v4.14-rc6 | 44890ec439 |
+--------------------------------------------------------------+-----------+------------+
| boot_successes | 263 | 5 |
| boot_failures | 197 | 14 |
| BUG:kernel_hang_in_test_stage | 197 | 2 |
| WARNING:at_arch/x86/include/asm/tlbflush.h:#native_flush_tlb | 0 | 14 |
+--------------------------------------------------------------+-----------+------------+
[ 17.991361] Write protecting the kernel read-only data: 10240k
[ 17.992941] Freeing unused kernel memory: 576K
[ 18.000212] Freeing unused kernel memory: 1636K
[ 18.001234] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[ 18.002579] ------------[ cut here ]------------
[ 18.003440] WARNING: CPU: 0 PID: 1 at arch/x86/include/asm/tlbflush.h:354 native_flush_tlb+0x72/0x80
[ 18.005311] Modules linked in:
[ 18.005867] CPU: 0 PID: 1 Comm: init Not tainted 4.14.0-rc6-00001-g44890ec4 #845
[ 18.007182] task: ffff88001e82c000 task.stack: ffff88001e830000
[ 18.008235] RIP: 0010:native_flush_tlb+0x72/0x80
[ 18.009054] RSP: 0000:ffff88001e833ba0 EFLAGS: 00010006
[ 18.009975] RAX: 00000000000606f0 RBX: 0000000000000001 RCX: 0000000000000001
[ 18.011244] RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffff88001e833c08
[ 18.012503] RBP: ffff88001e833bc0 R08: 0000000000000001 R09: 0000000000000000
[ 18.013759] R10: ffff88001e833bd8 R11: 0000000000000000 R12: ffff88001e833c08
[ 18.015027] R13: 0000000000000002 R14: ffff88001d8f5e60 R15: 0000000000000000
[ 18.016292] FS: 0000000000000000(0000) GS:ffffffff81a37000(0000) knlGS:0000000000000000
[ 18.017714] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 18.018744] CR2: 0000000000000000 CR3: 000000001d909002 CR4: 00000000000606f0
[ 18.020017] Call Trace:
[ 18.020472] ? ___pmd_free_tlb+0x5e/0x80
[ 18.021185] flush_tlb_func_common+0xb9/0x140
[ 18.022143] ? flush_tlb_func_common+0xb9/0x140
[ 18.023130] flush_tlb_mm_range+0xc3/0xf0
[ 18.023845] tlb_flush_mmu_tlbonly+0xa1/0xc0
[ 18.024628] arch_tlb_finish_mmu+0x3a/0x70
[ 18.025363] tlb_finish_mmu+0x1e/0x30
[ 18.026026] shift_arg_pages+0x14d/0x1a0
[ 18.026731] ? lock_acquire+0x6c/0xa0
[ 18.027398] ? setup_arg_pages+0xb9/0x220
[ 18.028122] setup_arg_pages+0x1f5/0x220
[ 18.028830] load_elf_binary+0x3e5/0x10b3
[ 18.029551] ? __lock_acquire+0x48e/0x7f0
[ 18.030274] ? find_held_lock+0x41/0xb0
[ 18.030958] search_binary_handler+0x70/0x1d0
[ 18.031738] do_execveat_common+0x58a/0x6d0
[ 18.032492] ? slob_new_pages+0xd/0x50
[ 18.033274] ? rest_init+0x130/0x130
[ 18.033918] do_execve+0x1a/0x20
[ 18.034512] run_init_process+0x26/0x30
[ 18.035204] kernel_init+0x40/0xf0
[ 18.035820] ret_from_fork+0x2a/0x40
[ 18.036470] Code: 8b 05 53 07 a0 00 a9 00 00 02 00 75 1e ff 05 ae 8b 9f 00 0f 20 d8 0f 22 d8 ff 0d a2 8b 9f 00 48 83 c4 18 41 5a 5d 49 8d 62 f8 c3 <0f> ff eb de 66 2e 0f 1f 84 00 00 00 00 00 48 8b 05 75 9c a9 00
[ 18.039833] ---[ end trace 51ef0ee1bf4f39a3 ]---
/etc/rcS.d/S00fbsetup: line 3: /sbin/modprobe: not found
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 44890ec4399af858277fbac59952037cc79f76f0 bb176f67090ca54869fc1262c913aa69d2ede070 --
# first bad commit: [44890ec4399af858277fbac59952037cc79f76f0] kaiser-20171025004
git bisect good bb176f67090ca54869fc1262c913aa69d2ede070 # 09:24 G 31 0 0 194 Linux 4.14-rc6
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 44890ec4399af858277fbac59952037cc79f76f0 # 09:39 B 0 11 24 0 kaiser-20171025004
# extra tests on HEAD of x86-pkeys/kaiser-20171025004
git bisect bad 44890ec4399af858277fbac59952037cc79f76f0 # 09:39 B 0 12 28 0 kaiser-20171025004
# extra tests on tree/branch x86-pkeys/kaiser-20171025004
git bisect bad 44890ec4399af858277fbac59952037cc79f76f0 # 09:40 B 0 12 28 0 kaiser-20171025004
# extra tests with first bad commit reverted
git bisect good 084c64b484f023f0c0b77d0cc9dc49c61f3efeb1 # 09:54 G 11 0 0 0 Revert "kaiser-20171025004"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 2 months
ce56a86e2a ("x86/mm: Limit mmap() of /dev/mem to valid physical addresses"): kernel BUG at arch/x86/mm/physaddr.c:79!
by Fengguang Wu
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit ce56a86e2ade45d052b3228cdfebe913a1ae7381
Author: Craig Bergstrom <craigb(a)google.com>
AuthorDate: Thu Oct 19 13:28:56 2017 -0600
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Fri Oct 20 09:48:00 2017 +0200
x86/mm: Limit mmap() of /dev/mem to valid physical addresses
Currently, it is possible to mmap() any offset from /dev/mem. If a
program mmaps() /dev/mem offsets outside of the addressable limits
of a system, the page table can be corrupted by setting reserved bits.
For example if you mmap() offset 0x0001000000000000 of /dev/mem on an
x86_64 system with a 48-bit bus, the page fault handler will be called
with error_code set to RSVD. The kernel then crashes with a page table
corruption error.
This change prevents this page table corruption on x86 by refusing
to mmap offsets higher than the highest valid address in the system.
Signed-off-by: Craig Bergstrom <craigb(a)google.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Andy Lutomirski <luto(a)kernel.org>
Cc: Borislav Petkov <bp(a)alien8.de>
Cc: Brian Gerst <brgerst(a)gmail.com>
Cc: Denys Vlasenko <dvlasenk(a)redhat.com>
Cc: H. Peter Anvin <hpa(a)zytor.com>
Cc: Josh Poimboeuf <jpoimboe(a)redhat.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Luis R. Rodriguez <mcgrof(a)suse.com>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: Toshi Kani <toshi.kani(a)hp.com>
Cc: dsafonov(a)virtuozzo.com
Cc: kirill.shutemov(a)linux.intel.com
Cc: mhocko(a)suse.com
Cc: oleg(a)redhat.com
Link: http://lkml.kernel.org/r/20171019192856.39672-1-craigb@google.com
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
7ac7f2c315 x86/mm: Remove debug/x86/tlb_defer_switch_to_init_mm
ce56a86e2a x86/mm: Limit mmap() of /dev/mem to valid physical addresses
bb176f6709 Linux 4.14-rc6
36ef71cae3 Add linux-next specific files for 20171018
+-------------------------------------------------------------------+------------+------------+-----------+---------------+
| | 7ac7f2c315 | ce56a86e2a | v4.14-rc6 | next-20171018 |
+-------------------------------------------------------------------+------------+------------+-----------+---------------+
| boot_successes | 35 | 4 | 8 | 12 |
| boot_failures | 0 | 11 | 11 | 22 |
| kernel_BUG_at_arch/x86/mm/physaddr.c | 0 | 11 | 11 | |
| invalid_opcode:#[##] | 0 | 11 | 11 | |
| EIP:__phys_addr | 0 | 11 | 11 | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 11 | 11 | |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 0 | 0 | 13 |
| BUG:kernel_hang_in_boot_stage | 0 | 0 | 0 | 8 |
| BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk | 0 | 0 | 0 | 1 |
+-------------------------------------------------------------------+------------+------------+-----------+---------------+
[ 2.048420] Could not find Carillo Ranch MCH device.
[ 2.048724] no IO addresses supplied
[ 2.049025] usbcore: registered new interface driver smscufx
[ 2.050165] v86d (125) used greatest stack depth: 6972 bytes left
[ 2.050687] ------------[ cut here ]------------
[ 2.050969] kernel BUG at arch/x86/mm/physaddr.c:79!
[ 2.051392] invalid opcode: 0000 [#1] SMP
[ 2.051631] CPU: 0 PID: 126 Comm: v86d Not tainted 4.14.0-rc5-00007-gce56a86 #1
[ 2.052053] task: ce3d46c0 task.stack: cd914000
[ 2.052316] EIP: __phys_addr+0x80/0x90
[ 2.052366] EFLAGS: 00010206 CPU: 0
[ 2.052366] EAX: 0ffdc000 EBX: 0ffdc000 ECX: 00000000 EDX: 0ffdc000
[ 2.052366] ESI: 00001000 EDI: 00000000 EBP: cd915e5c ESP: cd915e58
[ 2.052366] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 2.052366] CR0: 80050033 CR2: 08063e48 CR3: 0d8fa1c0 CR4: 001406b0
[ 2.052366] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[ 2.052366] DR6: fffe0ff0 DR7: 00000400
[ 2.052366] Call Trace:
[ 2.052366] ? valid_mmap_phys_addr_range+0x2f/0x70
[ 2.052366] ? mmap_mem+0x66/0xe0
[ 2.052366] ? mmap_region+0x248/0x480
[ 2.052366] ? mmap_region+0x2d2/0x480
[ 2.052366] ? do_mmap+0x2c5/0x3a0
[ 2.052366] ? vm_mmap_pgoff+0x8f/0xb0
[ 2.052366] ? SyS_mmap_pgoff+0x1e7/0x210
[ 2.052366] ? do_int80_syscall_32+0x76/0x130
[ 2.052366] ? entry_INT80_32+0x33/0x33
[ 2.052366] Code: 00 00 00 a1 60 0e be c8 05 00 00 80 00 39 c2 72 bb a1 78 94 30 c8 2d 00 b0 78 00 25 00 00 e0 ff 2d 00 20 00 00 39 c2 73 a3 0f 0b <0f> 0b 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 55 89 e5 53 e8
[ 2.052366] EIP: __phys_addr+0x80/0x90 SS:ESP: 0068:cd915e58
[ 2.058327] ---[ end trace 51b6b410d44658b1 ]---
[ 2.058607] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 13769afc2a5ef8e2d19b0b1486bf8ae08caf9f4b 33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9 --
git bisect good 7021889c264abc7a4eef71cb0586f76a22091658 # 16:32 G 10 0 0 0 Merge 'sailus-media/atomisp' into devel-spot-201710231057
git bisect bad 56b2129ddeae19f6a20494b88b61eaba91e519b5 # 17:00 B 0 8 20 0 Merge 'linux-review/Aishwarya-Pant/coccinelle-boolconv-improve-script-to-handle-more-cases/20171022-210918' into devel-spot-201710231057
git bisect bad c7d414af43141682ee0b828bd71d1d9cc190f1bd # 17:22 B 0 11 24 0 Merge 'f2fs/dev-test' into devel-spot-201710231057
git bisect good 89630c8626339b2ec6368ac195237c2ebea3ca23 # 17:47 G 10 0 0 0 Merge 'jpirko-mlxsw/jiri_devel_miniq' into devel-spot-201710231057
git bisect good dbf5855b11e4857696b24d9f621aaf1d4ad35dc2 # 18:04 G 10 0 0 0 Merge 'linux-review/SF-Markus-Elfring/gpio-adnp-Use-common-error-handling-code-in-adnp_gpio_dbg_show/20171023-043514' into devel-spot-201710231057
git bisect bad a0831a3f7f72d8ce846ffd2ff7ea73b88a59da17 # 18:42 B 0 11 24 0 Merge 'linux-review/SF-Markus-Elfring/dmaengine-ioat-Use-common-error-handling-code-in-ioat_xor_val_self_test/20171023-032235' into devel-spot-201710231057
git bisect good 085cf9bfc92a20a7297468f01e868cf2a4f6f4c3 # 19:00 G 10 0 0 0 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect bad ce56a86e2ade45d052b3228cdfebe913a1ae7381 # 19:14 B 0 11 23 0 x86/mm: Limit mmap() of /dev/mem to valid physical addresses
git bisect good 723f2828a98c8ca19842042f418fb30dd8cfc0f7 # 19:47 G 10 0 0 0 x86/microcode/intel: Disable late loading on model 79
git bisect good 4e57b94664fef55aa71cac33b4632fdfdd52b695 # 20:11 G 10 0 0 0 x86/mm: Tidy up "x86/mm: Flush more aggressively in lazy TLB mode"
git bisect good 7ac7f2c315ef76437f5119df354d334448534fb5 # 20:49 G 10 0 0 0 x86/mm: Remove debug/x86/tlb_defer_switch_to_init_mm
# first bad commit: [ce56a86e2ade45d052b3228cdfebe913a1ae7381] x86/mm: Limit mmap() of /dev/mem to valid physical addresses
git bisect good 7ac7f2c315ef76437f5119df354d334448534fb5 # 21:14 G 30 0 0 0 x86/mm: Remove debug/x86/tlb_defer_switch_to_init_mm
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad ce56a86e2ade45d052b3228cdfebe913a1ae7381 # 21:39 B 0 11 24 0 x86/mm: Limit mmap() of /dev/mem to valid physical addresses
# extra tests on HEAD of linux-devel/devel-spot-201710231057
git bisect bad 13769afc2a5ef8e2d19b0b1486bf8ae08caf9f4b # 21:39 B 0 12 27 0 0day head guard for 'devel-spot-201710231057'
# extra tests on tree/branch linus/master
git bisect bad bb176f67090ca54869fc1262c913aa69d2ede070 # 21:52 B 0 11 23 0 Linux 4.14-rc6
# extra tests with first bad commit reverted
git bisect good 668ce515181e53af5f88325ee13fb17d79295670 # 22:16 G 11 0 0 0 Revert "x86/mm: Limit mmap() of /dev/mem to valid physical addresses"
# extra tests on tree/branch linux-next/master
git bisect good 36ef71cae353f88fd6e095e2aaa3e5953af1685d # 22:45 G 10 0 3 22 Add linux-next specific files for 20171018
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 2 months
[bpf] 3ea693a925: BUG:unable_to_handle_kernel
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: 3ea693a925e14c1fc54c7d8bebe6f9fd9441b47d ("bpf: introduce new bpf cpu map type BPF_MAP_TYPE_CPUMAP")
url: https://github.com/0day-ci/linux/commits/Jesper-Dangaard-Brouer/New-bpf-c...
in testcase: syzkaller
with following parameters:
runtime: 10
repro_program: repro-68782ef7
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):
+------------------------------------------+------------+------------+
| | 14a0d032f4 | 3ea693a925 |
+------------------------------------------+------------+------------+
| boot_successes | 8 | 4 |
| boot_failures | 0 | 3 |
| BUG:unable_to_handle_kernel | 0 | 3 |
| Oops:#[##] | 0 | 3 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 3 |
+------------------------------------------+------------+------------+
[ 55.527578] BUG: unable to handle kernel paging request at ffffffff871ae788
[ 55.527597] IP: cpu_map_update_elem+0x4d/0x2e0
[ 55.527600] PGD 4e26067 P4D 4e26067 PUD 4e27063 PMD 0
[ 55.527610] Oops: 0000 [#1] SMP KASAN
[ 55.527613] Modules linked in:
[ 55.527622] CPU: 0 PID: 6619 Comm: repro-68782ef7 Not tainted 4.14.0-rc1-00610-g3ea693a #1
[ 55.527625] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[ 55.527629] task: ffff8800ae0d48c0 task.stack: ffff8800af840000
[ 55.527636] RIP: 0010:cpu_map_update_elem+0x4d/0x2e0
[ 55.527638] RSP: 0018:ffff8800af847d50 EFLAGS: 00010246
[ 55.527643] RAX: 000000000e601b02 RBX: ffff880118909c18 RCX: 0000000000000002
[ 55.527647] RDX: 0000000000000000 RSI: ffff880118909c18 RDI: ffff88007ed5e300
[ 55.527650] RBP: ffff8800af847d78 R08: ffffed0023121386 R09: ffffed0023121386
[ 55.527653] R10: 0000000000000003 R11: ffffed0023121387 R12: ffff88007ed5e300
[ 55.527656] R13: ffff880118909c30 R14: 0000000000000002 R15: 000000000e601b02
[ 55.527660] FS: 00007f8f76205800(0000) GS:ffff88011ac00000(0000) knlGS:0000000000000000
[ 55.527663] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 55.527666] CR2: ffffffff871ae788 CR3: 00000000af118000 CR4: 00000000000006f0
[ 55.527673] Call Trace:
[ 55.527682] SyS_bpf+0x2977/0x3600
[ 55.527690] ? bpf_prog_get+0x20/0x20
[ 55.527700] ? lock_downgrade+0x650/0x650
[ 55.527708] ? vmacache_find+0x59/0x260
[ 55.527716] ? up_read+0x1a/0x40
[ 55.527724] ? __do_page_fault+0x350/0xae0
[ 55.527735] ? entry_SYSCALL_64_fastpath+0x5/0xbe
[ 55.527743] ? trace_hardirqs_on_thunk+0x1a/0x1c
[ 55.527753] entry_SYSCALL_64_fastpath+0x1f/0xbe
[ 55.527758] RIP: 0033:0x7f8f75d2cd49
[ 55.527760] RSP: 002b:00007fffed5cc7d8 EFLAGS: 00000216 ORIG_RAX: 0000000000000141
[ 55.527765] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f8f75d2cd49
[ 55.527768] RDX: 0000000000000020 RSI: 00000000202ebfe0 RDI: 0000000000000002
[ 55.527771] RBP: 0000000000000046 R08: 0000000000000000 R09: 0000000000000000
[ 55.527774] R10: 0000000000000000 R11: 0000000000000216 R12: 0000000000400a70
[ 55.527777] R13: 00007fffed5cc980 R14: 0000000000000000 R15: 0000000000000000
[ 55.527786] Code: b8 00 00 00 00 00 fc ff df 48 c1 ea 03 0f b6 14 02 48 89 d8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 54 02 00 00 8b 03 49 89 c7 <48> 0f a3 05 f3 0d fa 03 0f 83 6f 02 00 00 e8 c0 64 f2 ff 49 83
[ 55.527870] RIP: cpu_map_update_elem+0x4d/0x2e0 RSP: ffff8800af847d50
[ 55.527872] CR2: ffffffff871ae788
[ 55.527881] ---[ end trace 1f2b13c8215f4b2c ]---
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,
lkp
3 years, 2 months
[lkp-robot] [x86/boot/64] 03eb570053: BUG:kernel_reboot-without-warning_in_early-boot_stage, last_printk:early_console_in_setup_code
by kernel test robot
FYI, we noticed the following commit (built with gcc-6):
commit: 03eb5700534b8bdbb0a7379ae11e8ec180d161fe ("x86/boot/64: Use _text and _end in a global for PIE support")
https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git kspp/kaslr/x86-pie/next-20171018
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):
+-----------------------------------------------------------------------------------------------+------------+------------+
| | e1d85e7d1b | 03eb570053 |
+-----------------------------------------------------------------------------------------------+------------+------------+
| boot_successes | 8 | 0 |
| boot_failures | 0 | 3 |
| BUG:kernel_reboot-without-warning_in_early-boot_stage,last_printk:early_console_in_setup_code | 0 | 3 |
+-----------------------------------------------------------------------------------------------+------------+------------+
early console in setup code
Elapsed time: 10
BUG: kernel reboot-without-warning in early-boot stage, last printk: early console in setup code
Linux version 4.14.0-rc5-next-20171018-00013-g03eb570 #8
Command line: ip=::::vm-lkp-st01-yocto-ia32-2::dhcp root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-lkp-st01-yocto-ia32-2/trinity-300s-yocto-tiny-i386-2016-04-22.cgz-03eb5700534b8bdbb0a7379ae11e8ec180d161fe-20171026-35419-1sj6wmm-0.yaml ARCH=x86_64 kconfig=x86_64-acpi-redef branch=linux-devel/devel-catchup-201710220537 commit=03eb5700534b8bdbb0a7379ae11e8ec180d161fe BOOT_IMAGE=/pkg/linux/x86_64-acpi-redef/gcc-6/03eb5700534b8bdbb0a7379ae11e8ec180d161fe/vmlinuz-4.14.0-rc5-next-20171018-00013-g03eb570 max_uptime=1500 RESULT_ROOT=/result/trinity/300s/vm-lkp-st01-yocto-ia32/yocto-tiny-i386-2016-04-22.cgz/x86_64-acpi-redef/gcc-6/03eb5700534b8bdbb0a7379ae11e8ec180d161fe/0 LKP_SERVER=inn debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw drbd.minor_count=8
initrds=(
/osimage/yocto/yocto-tiny-i386-2016-04-22.cgz
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
3 years, 2 months
[lkp-robot] [kaiser] 44890ec439: WARNING:at_arch/x86/include/asm/tlbflush.h:#native_flush_tlb
by kernel test robot
FYI, we noticed the following commit (built with gcc-4.9):
commit: 44890ec4399af858277fbac59952037cc79f76f0 ("kaiser-20171025004")
https://git.kernel.org/cgit/linux/kernel/git/daveh/x86-pkeys.git kaiser-20171025004
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 2G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------------------+-----------+------------+
| | v4.14-rc6 | 44890ec439 |
+--------------------------------------------------------------+-----------+------------+
| boot_successes | 263 | 5 |
| boot_failures | 197 | 14 |
| BUG:kernel_hang_in_test_stage | 197 | 2 |
| WARNING:at_arch/x86/include/asm/tlbflush.h:#native_flush_tlb | 0 | 14 |
+--------------------------------------------------------------+-----------+------------+
[ 185.036378] WARNING: CPU: 0 PID: 1 at arch/x86/include/asm/tlbflush.h:354 native_flush_tlb+0x72/0x80
[ 185.055725] Modules linked in:
[ 185.061752] CPU: 0 PID: 1 Comm: init Not tainted 4.14.0-rc6-00001-g44890ec4 #845
[ 185.075785] task: ffff880074838000 task.stack: ffff88007483c000
[ 185.084602] RIP: 0010:native_flush_tlb+0x72/0x80
[ 185.092153] RSP: 0000:ffff88007483fba0 EFLAGS: 00010006
[ 185.098830] RAX: 00000000000206f0 RBX: 0000000000000001 RCX: 0000000000000001
[ 185.108354] RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffff88007483fc08
[ 185.117265] RBP: ffff88007483fbc0 R08: 0000000000000001 R09: 0000000000000000
[ 185.126894] R10: ffff88007483fbd8 R11: 0000000000000000 R12: ffff88007483fc08
[ 185.135833] R13: 0000000000000002 R14: ffff88007f96d1a0 R15: 0000000000000000
[ 185.145658] FS: 0000000000000000(0000) GS:ffffffff81a37000(0000) knlGS:0000000000000000
[ 185.157770] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 185.165581] CR2: 0000000000000000 CR3: 000000007f96e002 CR4: 00000000000206f0
[ 185.175462] Call Trace:
[ 185.179090] ? ___pmd_free_tlb+0x5e/0x80
[ 185.184470] flush_tlb_func_common+0xb9/0x140
[ 185.191696] ? flush_tlb_func_common+0xb9/0x140
[ 185.198728] flush_tlb_mm_range+0xc3/0xf0
[ 185.204433] tlb_flush_mmu_tlbonly+0xa1/0xc0
[ 185.210104] arch_tlb_finish_mmu+0x3a/0x70
[ 185.215997] tlb_finish_mmu+0x1e/0x30
[ 185.221220] shift_arg_pages+0x14d/0x1a0
[ 185.226204] ? lock_acquire+0x6c/0xa0
[ 185.231722] ? setup_arg_pages+0xb9/0x220
[ 185.237127] setup_arg_pages+0x1f5/0x220
[ 185.242244] load_elf_binary+0x3e5/0x10b3
[ 185.247916] ? __lock_acquire+0x48e/0x7f0
[ 185.254985] ? find_held_lock+0x41/0xb0
[ 185.259818] search_binary_handler+0x70/0x1d0
[ 185.264805] do_execveat_common+0x58a/0x6d0
[ 185.271971] ? slob_new_pages+0xd/0x50
[ 185.282947] ? rest_init+0x130/0x130
[ 185.289567] do_execve+0x1a/0x20
[ 185.299869] run_init_process+0x26/0x30
[ 185.307745] kernel_init+0x40/0xf0
[ 185.316786] ret_from_fork+0x2a/0x40
[ 185.322129] Code: 8b 05 53 07 a0 00 a9 00 00 02 00 75 1e ff 05 ae 8b 9f 00 0f 20 d8 0f 22 d8 ff 0d a2 8b 9f 00 48 83 c4 18 41 5a 5d 49 8d 62 f8 c3 <0f> ff eb de 66 2e 0f 1f 84 00 00 00 00 00 48 8b 05 75 9c a9 00
[ 185.348445] ---[ end trace cdae2aaa55df54e7 ]---
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
3 years, 2 months