c88d71508e ("x86/boot/64: Rewrite startup_64() in C"): BUG: kernel reboot-without-warning in boot stage
by Fengguang Wu
Hi Kirill,
FYI this bug is still active in tip/master:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/mm
commit c88d71508e36b514413464bd2e01f96f34583a0e
Author: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
AuthorDate: Tue Jun 6 14:31:26 2017 +0300
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Tue Jun 13 08:56:54 2017 +0200
x86/boot/64: Rewrite startup_64() in C
The patch write most of startup_64 logic in C.
This is preparation for 5-level paging enabling.
Signed-off-by: Kirill A. Shutemov <kirill.shutemov(a)linux.intel.com>
Cc: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Andy Lutomirski <luto(a)amacapital.net>
Cc: Andy Lutomirski <luto(a)kernel.org>
Cc: Borislav Petkov <bp(a)alien8.de>
Cc: Brian Gerst <brgerst(a)gmail.com>
Cc: Dave Hansen <dave.hansen(a)intel.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: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: linux-arch(a)vger.kernel.org
Cc: linux-mm(a)kvack.org
Link: http://lkml.kernel.org/r/20170606113133.22974-8-kirill.shutemov@linux.int...
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
34bbb0009f x86/boot/compressed: Enable 5-level paging during decompression stage
c88d71508e x86/boot/64: Rewrite startup_64() in C
4a06370bcb x86/mmap, ASLR: Do not treat unlimited-stack tasks as legacy mmap
db0a91afe9 Merge branch 'irq/core'
a73468728f Add linux-next specific files for 20170623
+----------------------------------------------------+------------+------------+------------+------------+---------------+
| | 34bbb0009f | c88d71508e | 4a06370bcb | db0a91afe9 | next-20170623 |
+----------------------------------------------------+------------+------------+------------+------------+---------------+
| boot_successes | 119 | 0 | 0 | 0 | 0 |
| boot_failures | 1 | 26 | 41 | 25 | 83 |
| WARNING:at_mm/page_alloc.c:#__alloc_pages_slowpath | 1 | | | | |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 26 | 41 | 25 | 83 |
+----------------------------------------------------+------------+------------+------------+------------+---------------+
Decompressing Linux... Parsing ELF... Performing relocations... done.
Booting the kernel.
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 8b613ccb9d932ec8d5f72dd9a5b8e5616f3a0941 v4.11 --
git bisect good deac8429d62ca19c1571853e2a18f60e760ee04c # 02:42 G 11 0 0 0 Merge tag 'sound-fix-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
git bisect good f56f88ee3fa1c3080f6ba122a597e75f0d5ab969 # 02:56 G 11 0 0 0 Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 42211f6cb6d7c3a39fe9b2892a93e4c065149d5f # 03:10 G 11 0 0 0 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect good 6d53cefb18e4646fb4bf62ccb6098fb3808486df # 03:30 G 11 0 0 0 compiler, clang: properly override 'inline' for clang
git bisect good f7f5712fcaba9543708804f01fa347fc3936c04a # 03:35 G 10 0 0 0 Merge branch 'ras/core'
git bisect good a4a635ee9c874867a07154f0d21109612ee5592b # 04:05 G 11 0 0 0 Merge branch 'timers/nohz'
git bisect good 514808e1b992ea2201e933b061bdb659957754eb # 04:12 G 11 0 0 0 Merge branch 'x86/boot'
git bisect bad d8c2c6b7e2506350646af1e4e8b1472f114fbc6c # 04:20 B 0 11 81 36 Merge branch 'x86/mm'
git bisect good bbf79d21bd4627a01ca8721c9373752819f8e4cc # 04:35 G 11 0 0 0 x86/ldt: Rename ldt_struct::size to ::nr_entries
git bisect good 919a02d1280a3845bac70e6b7891ca070f21a60a # 04:45 G 11 0 0 0 x86/boot/efi: Define __KERNEL32_CS GDT on 64-bit configurations
git bisect bad 032370b9c81f44b3aaadf3115d550f4b6b5fa2b9 # 04:51 B 0 11 78 30 x86/boot/64: Add support of additional page table level during early boot
git bisect bad c88d71508e36b514413464bd2e01f96f34583a0e # 04:51 B 0 26 67 0 x86/boot/64: Rewrite startup_64() in C
git bisect good 34bbb0009f3b7a5eef1ab34f14e5dbf7b8fc389c # 05:07 G 16 0 0 2 x86/boot/compressed: Enable 5-level paging during decompression stage
# first bad commit: [c88d71508e36b514413464bd2e01f96f34583a0e] x86/boot/64: Rewrite startup_64() in C
git bisect good 34bbb0009f3b7a5eef1ab34f14e5dbf7b8fc389c # 05:12 G 47 0 0 2 x86/boot/compressed: Enable 5-level paging during decompression stage
# extra tests on HEAD of linux-review/jglisse-redhat-com/x86-mm-hotplug-fix-BUG_ON-after-hotremove-by-not-freeing-pud-v3/20170626-012348
git bisect bad 5bf715cc5f1a53ee61f1ac08eec750dc190bec79 # 05:12 B 0 25 51 0 x86/mm/hotplug: fix BUG_ON() after hotremove by not freeing pud v3
# extra tests on tree/branch tip/x86/mm
git bisect bad 4a06370bcb674af88679a4f2c5c87c3e40688935 # 05:13 B 0 41 94 0 x86/mmap, ASLR: Do not treat unlimited-stack tasks as legacy mmap
# extra tests on tree/branch tip/master
git bisect bad db0a91afe937a3001c4f177ba1c262fe7b9d0ab6 # 05:13 B 0 25 62 0 Merge branch 'irq/core'
# extra tests on tree/branch linux-next/master
git bisect bad a73468728fd8f34ccbd7c60f0808024ae491f4d6 # 05:15 B 0 83 178 0 Add linux-next specific files for 20170623
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
061bf7a162 ("Merge 'tip/locking/core' into .."): rhashtable_thra/170 is trying to release lock (rcu_preempt_state) at:
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://internal_merge_and_test_tree devel-spot-201706271241
commit 061bf7a162e48c41fd7e0080dba45ce085cfe5cb
Merge: 2dbda73a96b3c 1a870f0aa88fa
Author: 0day robot <fengguang.wu(a)intel.com>
AuthorDate: Tue Jun 27 13:00:04 2017 +0800
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Tue Jun 27 13:00:04 2017 +0800
Merge 'tip/locking/core' into devel-spot-201706271241
2dbda73a96 Merge 'masahiroy/thin-ar' into devel-spot-201706271241
1a870f0aa8 locking/atomic/x86: Switch atomic.h to use atomic-instrumented.h
061bf7a162 Merge 'tip/locking/core' into devel-spot-201706271241
2abd24664c 0day head guard for 'devel-spot-201706271241'
+------------------------------------------------+------------+------------+------------+------------+
| | 2dbda73a96 | 1a870f0aa8 | 061bf7a162 | 2abd24664c |
+------------------------------------------------+------------+------------+------------+------------+
| boot_successes | 39 | 38 | 0 | 7 |
| boot_failures | 0 | 0 | 16 | 18 |
| is_trying_to_release_lock(rcu_preempt_state)at | 0 | 0 | 16 | 18 |
+------------------------------------------------+------------+------------+------------+------------+
[ 21.517719] WARNING: bad unlock balance detected!
[ 21.519222] 4.12.0-rc7-05572-g061bf7a #1 Not tainted
[ 21.519222] 4.12.0-rc7-05572-g061bf7a #1 Not tainted
[ 21.520807] -------------------------------------
[ 21.520807] -------------------------------------
[ 21.522316] rhashtable_thra/170 is trying to release lock (rcu_preempt_state) at:
[ 21.522316] rhashtable_thra/170 is trying to release lock (rcu_preempt_state) at:
[ 21.524765] [<ffffffff8114c49f>] rcu_read_unlock_special+0x468/0x4ef
[ 21.524765] [<ffffffff8114c49f>] rcu_read_unlock_special+0x468/0x4ef
[ 21.526820] but there are no more locks to release!
[ 21.526820] but there are no more locks to release!
[ 21.528432]
[ 21.528432] other info that might help us debug this:
[ 21.528432]
[ 21.528432] other info that might help us debug this:
[ 21.534072] 1 lock held by rhashtable_thra/170:
[ 21.534072] 1 lock held by rhashtable_thra/170:
[ 21.535557] #0: (rcu_read_lock){......}, at: [<ffffffff816fbc5f>] rcu_read_lock+0x0/0x79
[ 21.535557] #0: (rcu_read_lock){......}, at: [<ffffffff816fbc5f>] rcu_read_lock+0x0/0x79
[ 21.551350]
[ 21.551350] stack backtrace:
[ 21.551350]
[ 21.551350] stack backtrace:
[ 21.552787] CPU: 1 PID: 170 Comm: rhashtable_thra Not tainted 4.12.0-rc7-05572-g061bf7a #1
[ 21.552787] CPU: 1 PID: 170 Comm: rhashtable_thra Not tainted 4.12.0-rc7-05572-g061bf7a #1
[ 21.555433] Call Trace:
[ 21.555433] Call Trace:
[ 21.556240] show_stack+0x6e/0x71
[ 21.556240] show_stack+0x6e/0x71
[ 21.557269] dump_stack+0xd7/0x13a
[ 21.557269] dump_stack+0xd7/0x13a
[ 21.558385] ? rcu_read_unlock_special+0x468/0x4ef
[ 21.558385] ? rcu_read_unlock_special+0x468/0x4ef
[ 21.559936] print_unlock_imbalance_bug+0xe5/0xee
[ 21.559936] print_unlock_imbalance_bug+0xe5/0xee
[ 21.561446] lock_release+0x2ac/0x2d4
[ 21.561446] lock_release+0x2ac/0x2d4
[ 21.575602] ? _raw_spin_unlock_irqrestore+0x64/0xae
[ 21.575602] ? _raw_spin_unlock_irqrestore+0x64/0xae
[ 21.577239] rt_mutex_unlock+0x2b/0xcf
[ 21.577239] rt_mutex_unlock+0x2b/0xcf
[ 21.578441] rcu_read_unlock_special+0x468/0x4ef
[ 21.578441] rcu_read_unlock_special+0x468/0x4ef
[ 21.579935] __rcu_read_unlock+0x89/0xec
[ 21.579935] __rcu_read_unlock+0x89/0xec
[ 21.581209] rcu_read_unlock+0x56/0x70
[ 21.581209] rcu_read_unlock+0x56/0x70
[ 21.582426] rhashtable_lookup_fast+0x266/0x278
[ 21.582426] rhashtable_lookup_fast+0x266/0x278
[ 21.584452] ? kstrtos8_from_user+0xa7/0xa7
[ 21.584452] ? kstrtos8_from_user+0xa7/0xa7
[ 21.585848] thread_lookup_test+0x4a/0x12c
[ 21.585848] thread_lookup_test+0x4a/0x12c
[ 21.587208] threadfunc+0x254/0x2c2
[ 21.587208] threadfunc+0x254/0x2c2
[ 21.601380] ? kstrtos8_from_user+0xa7/0xa7
[ 21.601380] ? kstrtos8_from_user+0xa7/0xa7
[ 21.602751] ? __rhashtable_remove_fast+0x384/0x384
[ 21.602751] ? __rhashtable_remove_fast+0x384/0x384
[ 21.604713] kthread+0x141/0x149
[ 21.604713] kthread+0x141/0x149
[ 21.605754] ? __list_del_entry+0x30/0x30
[ 21.605754] ? __list_del_entry+0x30/0x30
[ 21.607052] ret_from_fork+0x2a/0x40
[ 21.607052] ret_from_fork+0x2a/0x40
[ 22.436951] rcu-perf: rcu_perf_writer 1 has 100 measurements
[ 22.436951] rcu-perf: rcu_perf_writer 1 has 100 measurements
[ 22.440878] rcu-perf: rcu_perf_writer 0 has 100 measurements
[ 22.440878] rcu-perf: rcu_perf_writer 0 has 100 measurements
[ 22.452881] Dumping ftrace buffer:
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 2abd24664c8a4a1285e668b82adb29f94f445803 c0bc126f97fb929b3ae02c1c62322645d70eb408 --
git bisect good 965faa8ec5724d635bcfe6b809bdd3bfd319eb9a # 16:40 G 12 0 0 0 Merge 'linux-review/Shanker-Donthineni/irqchip-gicv3-its-Use-NUMA-aware-memory-allocation-for-ITS-tables/20170626-153941' into devel-spot-201706271241
git bisect bad c149d85aa0e414826c620c72655fe0c24096622d # 16:53 B 1 11 0 0 Merge 'linux-review/David-H-rdeman/lirc_dev-modernisation/20170626-120627' into devel-spot-201706271241
git bisect good 65f429e3014f76d3acb12d5bc2122cc0a484acb2 # 17:09 G 12 0 0 0 Merge 'mtd-next/nand/next' into devel-spot-201706271241
git bisect bad 7f0addb9192cab55c2b016a26c41dfa9b902ac4a # 17:22 B 0 12 23 0 Merge 'platform-drivers-x86/testing' into devel-spot-201706271241
git bisect bad 8dd6a5a30c2db18e8d4bd150c15dcd8eef569f1c # 17:41 B 2 10 0 1 Merge 'bleung-chrome/for-next' into devel-spot-201706271241
git bisect good d662cb553dec25c134905766fe8fa947f516a012 # 17:58 G 11 0 0 0 Merge 'linux-platform-drivers-x86/testing' into devel-spot-201706271241
git bisect good 2dbda73a96b3cf73d4381743bdb8c10f336f0bda # 18:11 G 11 0 0 0 Merge 'masahiroy/thin-ar' into devel-spot-201706271241
git bisect bad 061bf7a162e48c41fd7e0080dba45ce085cfe5cb # 18:21 B 0 12 23 0 Merge 'tip/locking/core' into devel-spot-201706271241
git bisect good f9155dd8d9281adac4d8c95ca66f7db22cd292e1 # 18:41 G 11 0 0 0 tools/lib/lockdep: Include err.h
git bisect good cfb6133399a490419cda55fcdcf9dbbca65eacba # 18:57 G 12 0 1 1 locking/selftest: Remove the bad unlock ordering test
git bisect good 0f2376eb0ff8851124c876eb81806d7ec1b421d1 # 19:16 G 12 0 0 0 locking/atomic/x86: Un-macro-ify atomic ops implementation
git bisect good ff5060d9b2a73917dbf52654e29b08018e22a1f9 # 19:38 G 12 0 0 0 locking/atomic: Add asm-generic/atomic-instrumented.h
git bisect good 1a870f0aa88faf2e5c72303c89a58ebb8638270a # 19:52 G 12 0 0 0 locking/atomic/x86: Switch atomic.h to use atomic-instrumented.h
# first bad commit: [061bf7a162e48c41fd7e0080dba45ce085cfe5cb] Merge 'tip/locking/core' into devel-spot-201706271241
git bisect good 2dbda73a96b3cf73d4381743bdb8c10f336f0bda # 19:53 G 34 0 0 0 Merge 'masahiroy/thin-ar' into devel-spot-201706271241
git bisect good 1a870f0aa88faf2e5c72303c89a58ebb8638270a # 19:58 G 35 0 1 1 locking/atomic/x86: Switch atomic.h to use atomic-instrumented.h
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 061bf7a162e48c41fd7e0080dba45ce085cfe5cb # 20:30 B 0 6 18 0 Merge 'tip/locking/core' into devel-spot-201706271241
# extra tests on HEAD of linux-devel/devel-spot-201706271241
git bisect bad 2abd24664c8a4a1285e668b82adb29f94f445803 # 20:31 B 2 18 0 0 0day head guard for 'devel-spot-201706271241'
# extra tests on tree/branch linux-devel/devel-spot-201706271241
git bisect bad 2abd24664c8a4a1285e668b82adb29f94f445803 # 20:32 B 2 18 0 0 0day head guard for 'devel-spot-201706271241'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
18b9c996c7 ("vsprintf: Add %p extension "%pOF" for device tree"): BUG: KASAN: stack-out-of-bounds in string
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 18b9c996c725246801d0a631698a62c7acee98ca
Author: Pantelis Antoniou <pantelis.antoniou(a)konsulko.com>
AuthorDate: Wed Jan 21 19:06:14 2015 +0200
Commit: Rob Herring <robh(a)kernel.org>
CommitDate: Mon Jun 26 09:53:23 2017 -0500
vsprintf: Add %p extension "%pOF" for device tree
90% of the usage of device node's full_name is printing it out in a
kernel message. However, storing the full path for every node is
wasteful and redundant. With a custom format specifier, we can generate
the full path at run-time and eventually remove the full path from every
node.
For instance typical use is:
pr_info("Frobbing node %s\n", node->full_name);
Which can be written now as:
pr_info("Frobbing node %pOF\n", node);
'%pO' is the base specifier to represent kobjects with '%pOF'
representing struct device_node. Currently, struct device_node is the
only supported type of kobject.
More fine-grained control of formatting includes printing the name,
flags, path-spec name and others, explained in the documentation entry.
Originally written by Pantelis, but pretty much rewrote the core
function using existing string/number functions. The 2 passes were
unnecessary and have been removed. Also, updated the checkpatch.pl
check. The unittest code was written by Grant Likely.
Signed-off-by: Pantelis Antoniou <pantelis.antoniou(a)konsulko.com>
Acked-by: Joe Perches <joe(a)perches.com>
Signed-off-by: Rob Herring <robh(a)kernel.org>
27497e11b5 of: find_node_by_full_name rewrite to compare each level
18b9c996c7 vsprintf: Add %p extension "%pOF" for device tree
89a39f3c70 Add linux-next specific files for 20170627
+------------------------------------------------------------------+------------+------------+---------------+
| | 27497e11b5 | 18b9c996c7 | next-20170627 |
+------------------------------------------------------------------+------------+------------+---------------+
| boot_successes | 33 | 0 | 0 |
| boot_failures | 2 | 15 | 15 |
| invoked_oom-killer:gfp_mask=0x | 2 | | |
| Mem-Info | 2 | | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 2 | | |
| BUG:KASAN:stack-out-of-bounds | 0 | 15 | 15 |
+------------------------------------------------------------------+------------+------------+---------------+
[ 32.415568] ### dt-test ### FAIL of_unittest_printf_one():255 sprintf failed; fmt='%pOFP' expected='/' rslt='/'
[ 32.418781] ### dt-test ### FAIL of_unittest_printf_one():265 snprintf failed; size=2 fmt='%pOFP' expected='/' rslt='/'
[ 32.422119] ### dt-test ### FAIL of_unittest_printf_one():265 snprintf failed; size=1 fmt='%pOFP' expected='/' rslt='/'
[ 32.425424] ### dt-test ### FAIL of_unittest_printf_one():255 sprintf failed; fmt='%pOFF' expected='----' rslt='----'
[ 32.428728] ==================================================================
[ 32.431422] BUG: KASAN: stack-out-of-bounds in string+0x7b/0xf0
[ 32.433233] Read of size 1 at addr ffff880018ecf8e6 by task swapper/0/1
[ 32.435158]
[ 32.436161] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc1-00027-g18b9c99 #1
[ 32.438883] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 32.442052] Call Trace:
[ 32.443235] dump_stack+0x63/0x8a
[ 32.444547] print_address_description+0x73/0x2c0
[ 32.446131] ? string+0x7b/0xf0
[ 32.447437] kasan_report+0x231/0x340
[ 32.448822] __asan_load1+0x47/0x50
[ 32.450187] string+0x7b/0xf0
[ 32.451446] device_node_string+0x3e0/0x4b0
[ 32.452945] ? wait_for_xmitr+0x80/0xf0
[ 32.454346] ? device_node_gen_full_name+0x140/0x140
[ 32.455982] ? serial8250_console_write+0x1f4/0x430
[ 32.457598] ? serial8250_set_defaults+0x150/0x150
[ 32.459179] ? vt_console_print+0x5b5/0x780
[ 32.460670] pointer+0x434/0x6b0
[ 32.461974] ? vsnprintf+0xa30/0xa30
[ 32.463343] ? __asan_loadN+0xf/0x20
[ 32.464732] ? format_decode+0x11f/0x4e0
[ 32.466155] vsnprintf+0x3ee/0xa30
[ 32.467498] ? num_to_str+0x160/0x160
[ 32.468893] snprintf+0x87/0xb0
[ 32.470191] ? vscnprintf+0x30/0x30
[ 32.471558] of_unittest_printf_one+0xc3/0x115
[ 32.473080] of_unittest+0xee8/0x249a
[ 32.474467] ? of_unittest_check_tree_linkage+0x106/0x106
[ 32.476294] ? kobject_add_internal+0x3d8/0x470
[ 32.477837] ? initcall_blacklist+0xe9/0xe9
[ 32.479310] ? kobject_add+0xe5/0x160
[ 32.480716] ? kobject_add_internal+0x470/0x470
[ 32.482273] ? kobject_uevent+0xb/0x10
[ 32.483713] ? kset_register+0x9c/0xb0
[ 32.485148] ? find_ibft_region+0x17a/0x17a
[ 32.486658] ? add_sysfs_fw_map_entry+0x64/0xae
[ 32.488235] ? of_unittest_check_tree_linkage+0x106/0x106
[ 32.490079] do_one_initcall+0x100/0x1e6
[ 32.491537] ? start_kernel+0x4b0/0x4b0
[ 32.492994] ? ___might_sleep+0x151/0x170
[ 32.494472] ? __wake_up_common+0x39/0xb0
[ 32.495951] ? __wake_up+0x3f/0x50
[ 32.497316] ? set_debug_rodata+0x12/0x12
[ 32.498791] kernel_init_freeable+0x25b/0x2e7
[ 32.500287] ? rest_init+0x90/0x90
[ 32.501639] kernel_init+0xe/0x110
[ 32.502985] ? rest_init+0x90/0x90
[ 32.504324] ret_from_fork+0x2c/0x40
[ 32.505698]
[ 32.506697] The buggy address belongs to the page:
[ 32.508296] page:ffffea000063b3c0 count:0 mapcount:0 mapping: (null) index:0x0
[ 32.511111] flags: 0x4000000000000000()
[ 32.512548] raw: 4000000000000000 0000000000000000 0000000000000000 00000000ffffffff
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 24e1112462a0afd6894b1befb1aebc332db5d106 c0bc126f97fb929b3ae02c1c62322645d70eb408 --
git bisect good 503a9e15a7ef11387f335e67df0ac24fea881fec # 14:06 G 11 0 1 1 Merge 'spi/for-next' into devel-spot-201706271016
git bisect good 8308cdaa41a814ebbd4b5269311833fd1ab717c7 # 14:21 G 11 0 0 0 Merge 'tip/x86/mm' into devel-spot-201706271016
git bisect good b2b7bcf55c8061f9b04ec1540c6d5e4b7c3fce3f # 14:32 G 11 0 0 0 Merge 'linux-review/Zang-Leigang/scsi-ufs-check-link-active-or-not-after-switch-to-HS-mode/20170625-222302' into devel-spot-201706271016
git bisect good 39e9e8059bbfb11aeb3b4e60a6f3abf3a46ceeed # 14:44 G 11 0 0 0 Merge 'linux-review/Pierre-Yves-MORDRET/Add-STM32-DMAMUX-support/20170625-113546' into devel-spot-201706271016
git bisect good 9a4b8b7fa0cd215555dbdbf17487e0a82382fc26 # 14:56 G 11 0 0 1 Merge 'linux-review/Bard-Liao/ASoC-rt5645-enable-speaker-protection-features/20170625-120839' into devel-spot-201706271016
git bisect good 48e995dbf3445c81576a5c6f753c9c3fcd0fac42 # 15:05 G 11 0 0 0 Merge 'linux-review/Scott-Wood/powerpc-ipic-Support-edge-on-IRQ0/20170626-080911' into devel-spot-201706271016
git bisect good b7dce42371f1db970ce4d7db14083497201188a1 # 15:20 G 11 0 0 0 Merge 'scsi/for-next' into devel-spot-201706271016
git bisect bad 2c642e73f784919d3a1ad09aa95939f836233fed # 15:32 B 0 2 14 1 Merge 'robh/dt/next' into devel-spot-201706271016
git bisect good 249969514e23b07d1872fc614bb5cfd3577bde35 # 15:47 G 11 0 0 0 of: make __of_attach_node() static
git bisect good 076fb0c4b6e1f6883477d1e4ee89464924e64737 # 15:59 G 11 0 0 1 of: update ePAPR references to point to Devicetree Specification
git bisect good 95e6b1fa3311c8a7b151d38540695409048d1495 # 16:09 G 11 0 0 0 of: use kbasename instead of open coding
git bisect bad 18b9c996c725246801d0a631698a62c7acee98ca # 16:21 B 0 4 15 0 vsprintf: Add %p extension "%pOF" for device tree
git bisect good 27497e11b56a072dfd80e9f1f229049b2921a1a6 # 16:34 G 11 0 0 0 of: find_node_by_full_name rewrite to compare each level
# first bad commit: [18b9c996c725246801d0a631698a62c7acee98ca] vsprintf: Add %p extension "%pOF" for device tree
git bisect good 27497e11b56a072dfd80e9f1f229049b2921a1a6 # 16:37 G 31 0 0 0 of: find_node_by_full_name rewrite to compare each level
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 18b9c996c725246801d0a631698a62c7acee98ca # 16:48 B 0 11 24 2 vsprintf: Add %p extension "%pOF" for device tree
# extra tests on HEAD of linux-devel/devel-spot-201706271016
git bisect bad 24e1112462a0afd6894b1befb1aebc332db5d106 # 16:48 B 0 13 27 0 0day head guard for 'devel-spot-201706271016'
# extra tests on tree/branch linux-next/master
git bisect bad 89a39f3c7086301342175c461c4db43c68d34cc7 # 16:58 B 0 4 15 0 Add linux-next specific files for 20170627
# extra tests with first bad commit reverted
git bisect good b37f41c7711d1fd919b2d63bd126b19631c1f4ec # 17:22 G 11 0 0 0 Revert "vsprintf: Add %p extension "%pOF" for device tree"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
[rtmutex] cde50a6739 swapper/1 is trying to release lock (rcu_preempt_state) at:
by Fengguang Wu
Greetings,
FYI, here is another unlock balance problem.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit cde50a67397c0da7d11795d4b4418384022ab8e6
Author: Levin, Alexander (Sasha Levin) <alexander.levin(a)verizon.com>
AuthorDate: Sun Jun 18 14:06:01 2017 +0000
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Tue Jun 20 11:53:09 2017 +0200
locking/rtmutex: Don't initialize lockdep when not required
pi_mutex isn't supposed to be tracked by lockdep, but just
passing NULLs for name and key will cause lockdep to spew a
warning and die, which is not what we want it to do.
Skip lockdep initialization if the caller passed NULLs for
name and key, suggesting such initialization isn't desired.
Signed-off-by: Sasha Levin <alexander.levin(a)verizon.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Fixes: f5694788ad8d ("rt_mutex: Add lockdep annotations")
Link: http://lkml.kernel.org/r/20170618140548.4763-1-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
018956d641 locking/selftest: Add RT-mutex support
cde50a6739 locking/rtmutex: Don't initialize lockdep when not required
be285968cc Add linux-next specific files for 20170621
+-------------------------------------------------------+------------+------------+---------------+
| | 018956d641 | cde50a6739 | next-20170621 |
+-------------------------------------------------------+------------+------------+---------------+
| boot_successes | 60 | 22 | 33 |
| boot_failures | 42 | 15 | 26 |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 42 | | |
| is_trying_to_release_lock(rcu_preempt_state)at | 0 | 15 | 26 |
+-------------------------------------------------------+------------+------------+---------------+
[ 8.863582]
[ 8.863770] =====================================
[ 8.864214] WARNING: bad unlock balance detected!
[ 8.864704] 4.12.0-rc4-00028-gcde50a6 #1 Not tainted
[ 8.865223] -------------------------------------
[ 8.865718] swapper/1 is trying to release lock (rcu_preempt_state) at:
[ 8.866385] [<ffffffff810b9a93>] rcu_read_unlock_special+0x253/0x2c0
[ 8.867097] but there are no more locks to release!
[ 8.867659]
[ 8.867659] other info that might help us debug this:
[ 8.868546] 1 lock held by swapper/1:
[ 8.869141] #0: (rcu_read_lock){......}, at: [<ffffffff8124c1a3>] insert_retry+0x23/0x520
[ 8.870608]
[ 8.870608] stack backtrace:
[ 8.871299] CPU: 0 PID: 1 Comm: swapper Not tainted 4.12.0-rc4-00028-gcde50a6 #1
[ 8.872510] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 8.874123] Call Trace:
[ 8.874559] dump_stack+0x19/0x1b
[ 8.875151] print_unlock_imbalance_bug+0xd7/0xe0
[ 8.875947] lock_release+0x352/0x390
[ 8.876579] rt_mutex_unlock+0x27/0x60
[ 8.877208] ? _raw_spin_unlock_irqrestore+0x56/0x70
[ 8.877998] rcu_read_unlock_special+0x253/0x2c0
[ 8.878766] __rcu_read_unlock+0x3f/0x60
[ 8.879388] insert_retry+0x207/0x520
[ 8.880173] ? do_early_param+0x8f/0x8f
[ 8.880838] test_rht_init+0x144/0x9f6
[ 8.881493] ? kstrtol_from_user+0xa0/0xa0
[ 8.882184] ? __test_string_get_size+0x87/0xa8
[ 8.882975] ? test_string_helpers_init+0x197/0x197
[ 8.883807] ? do_early_param+0x8f/0x8f
[ 8.884456] do_one_initcall+0x95/0x180
[ 8.885130] ? do_early_param+0x8f/0x8f
[ 8.885778] kernel_init_freeable+0x1bd/0x247
[ 8.886511] ? rest_init+0x130/0x130
[ 8.887133] kernel_init+0x9/0xf0
[ 8.887703] ret_from_fork+0x2a/0x40
[ 8.953178] Traversal complete: counted=50000, nelems=50000, entries=50000, table-jumps=0
[ 8.981978] Traversal complete: counted=50000, nelems=50000, entries=50000, table-jumps=0
[ 8.983408] Deleting 50000 keys
[ 9.010364] Duration of test: 167465281 ns
[ 9.011152] Test 01:
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 618481ade97486e52c9103aede1a81632e61c713 41f1830f5a7af77cf5c86359aba3cbd706687e52 --
git bisect bad 1152cacc220473081a1a29d8ed723c7d8e22cd2a # 01:18 B 1 3 0 1 Merge 'linux-review/Dan-Carpenter/thermal-bcm2835-fix-an-error-code-in-probe/20170615-052930' into devel-hourly-2017062119
git bisect good 039127230285e7cc33a92e74d3e6da8746da4460 # 01:54 G 25 0 0 0 Merge 'vsyrjala/pch_id_9bits' into devel-hourly-2017062119
git bisect bad 797676cd870f0b15f4546ebde1a6d85395f04e26 # 02:31 B 3 2 0 3 Merge 'linux-review/Vladislav-Yasevich/macvlan-Fix-some-issues-with-changing-mac-addresses/20170617-183826' into devel-hourly-2017062119
git bisect bad 1e2c6c8c1466b9d615fa86fed5bead16535f54a1 # 03:00 B 11 7 0 1 Merge 'linux-review/Shawn-Guo/Add-ZTE-ZTE-zx-aud96p22-audio-codec-driver/20170619-051637' into devel-hourly-2017062119
git bisect bad dcae5f4d9167085a373f30bf3db305c90a300377 # 03:13 B 1 1 0 0 Merge 'linux-review/Shyam-Sundar-S-K/usb-xhci-Issue-stop-EP-command-only-when-the-EP-state-is-running/20170619-125624' into devel-hourly-2017062119
git bisect good df1a798450774e11d570b0f2e9b3bfdbc85a9312 # 03:32 G 25 0 0 0 Merge 'linux-review/Stewart-Smith/doc-Document-suitability-of-IBM-Verse-for-kernel-development/20170619-153723' into devel-hourly-2017062119
git bisect bad 67da818028882d480a729e8b866b031778d2102a # 03:45 B 0 3 17 1 Merge 'linux-review/Oleksij-Rempel/provide-power-off-support-for-iMX6-with-external-PMIC/20170619-154554' into devel-hourly-2017062119
git bisect good a7dc970e95b97a0e5e43a63412415eabcfb75333 # 04:11 G 25 0 6 10 Merge 'arm-soc/next/defconfig' into devel-hourly-2017062119
git bisect bad 14664e61fe34f0cde3cf31c8dee3f093c2581dcf # 04:30 B 9 1 0 3 Merge 'tip/locking/core' into devel-hourly-2017062119
git bisect bad cde50a67397c0da7d11795d4b4418384022ab8e6 # 04:46 B 0 1 13 0 locking/rtmutex: Don't initialize lockdep when not required
# first bad commit: [cde50a67397c0da7d11795d4b4418384022ab8e6] locking/rtmutex: Don't initialize lockdep when not required
git bisect good 018956d6419be3e5ff5aacc60b2a3cff585adee1 # 05:02 G 97 0 41 43 locking/selftest: Add RT-mutex support
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad cde50a67397c0da7d11795d4b4418384022ab8e6 # 05:17 B 0 3 19 3 locking/rtmutex: Don't initialize lockdep when not required
# extra tests on HEAD of linux-devel/devel-hourly-2017062119
git bisect bad 618481ade97486e52c9103aede1a81632e61c713 # 05:17 B 3 34 0 5 0day head guard for 'devel-hourly-2017062119'
# extra tests on tree/branch linux-next/master
git bisect bad be285968cc9160cb461c2f4e4067b499ad56c122 # 05:29 B 7 2 0 2 Add linux-next specific files for 20170621
# extra tests with first bad commit reverted
git bisect good a1ca68b2f0edd8122d4af32a5c7acdf28d150f5a # 05:47 G 33 0 11 11 Revert "locking/rtmutex: Don't initialize lockdep when not required"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
[block] 044f1daaaa kernel BUG at block/blk-mq.c:415!
by Fengguang Wu
Greetings,
Sorry the report is a bit late, this bug looks still active:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit 044f1daaaaf7c86bc4fcf433848b7baae236946b
Merge: d557d1b58b354 daaadb3e9453a
Author: Linus Torvalds <torvalds(a)linux-foundation.org>
AuthorDate: Sat May 6 11:25:08 2017 -0700
Commit: Linus Torvalds <torvalds(a)linux-foundation.org>
CommitDate: Sat May 6 11:25:08 2017 -0700
Merge branch 'for-linus' of git://git.kernel.dk/linux-block
Pull block fixes and updates from Jens Axboe:
"Some fixes and followup features/changes that should go in, in this
merge window. This contains:
- Two fixes for lightnvm from Javier, fixing problems in the new code
merge previously in this merge window.
- A fix from Jan for the backing device changes, fixing an issue in
NFS that causes a failure to mount on certain setups.
- A change from Christoph, cleaning up the blk-mq init and exit
request paths.
- Remove elevator_change(), which is now unused. From Bart.
- A fix for queue operation invocation on a dead queue, from Bart.
- A series fixing up mtip32xx for blk-mq scheduling, removing a
bandaid we previously had in place for this. From me.
- A regression fix for this series, fixing a case where we wait on
workqueue flushing from an invalid (non-blocking) context. From me.
- A fix/optimization from Ming, ensuring that we don't both quiesce
and freeze a queue at the same time.
- A fix from Peter on lock ordering for CPU hotplug. Not a real
problem right now, but will be once the CPU hotplug rework goes in.
- A series from Omar, cleaning up out blk-mq debugfs support, and
adding support for exporting info from schedulers in debugfs as
well. This is really useful in debugging stalls or livelocks. From
Omar"
* 'for-linus' of git://git.kernel.dk/linux-block: (28 commits)
mq-deadline: add debugfs attributes
kyber: add debugfs attributes
blk-mq-debugfs: allow schedulers to register debugfs attributes
blk-mq: untangle debugfs and sysfs
blk-mq: move debugfs declarations to a separate header file
blk-mq: Do not invoke queue operations on a dead queue
blk-mq-debugfs: get rid of a bunch of boilerplate
blk-mq-debugfs: rename hw queue directories from <n> to hctx<n>
blk-mq-debugfs: don't open code strstrip()
blk-mq-debugfs: error on long write to queue "state" file
blk-mq-debugfs: clean up flag definitions
blk-mq-debugfs: separate flags with |
nfs: Fix bdi handling for cloned superblocks
block/mq: Cure cpu hotplug lock inversion
lightnvm: fix bad back free on error path
lightnvm: create cmd before allocating request
blk-mq: don't use sync workqueue flushing from drivers
mtip32xx: convert internal commands to regular block infrastructure
mtip32xx: cleanup internal tag assumptions
block: don't call blk_mq_quiesce_queue() after queue is frozen
...
d557d1b58b refcount: change EXPORT_SYMBOL markings
daaadb3e94 mq-deadline: add debugfs attributes
044f1daaaa Merge branch 'for-linus' of git://git.kernel.dk/linux-block
8d829b9bb8 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
09c1728473 Add linux-next specific files for 20170622
+------------------------------------------------+------------+------------+------------+------------+---------------+
| | d557d1b58b | daaadb3e94 | 044f1daaaa | 8d829b9bb8 | next-20170622 |
+------------------------------------------------+------------+------------+------------+------------+---------------+
| boot_successes | 914 | 0 | 306 | 314 | 123 |
| boot_failures | 0 | 1224 | 8 | 4 | 6 |
| BUG:unable_to_handle_kernel | 0 | 1224 | | | |
| Oops:#[##] | 0 | 1224 | | | |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 1224 | 8 | 4 | 1 |
| kernel_BUG_at_block/blk-mq.c | 0 | 0 | 7 | 4 | 1 |
| invalid_opcode:#[##] | 0 | 0 | 8 | 4 | 1 |
| kernel_BUG_at_block/elevator.c | 0 | 0 | 1 | | |
| is_trying_to_release_lock(rcu_preempt_state)at | 0 | 0 | 0 | 0 | 5 |
+------------------------------------------------+------------+------------+------------+------------+---------------+
[ 36.037364] sector 2, nr/cnr 0/2
[ 36.037367] bio ffff88001af84e80, biotail ffff88001af84e80, len 0
[ 36.037367] bio ffff88001af84e80, biotail ffff88001af84e80, len 0
[ 36.037424] ------------[ cut here ]------------
[ 36.037424] ------------[ cut here ]------------
[ 36.037428] kernel BUG at block/blk-mq.c:415!
[ 36.037428] kernel BUG at block/blk-mq.c:415!
[ 36.037433] invalid opcode: 0000 [#1] PREEMPT SMP
[ 36.037433] invalid opcode: 0000 [#1] PREEMPT SMP
[ 36.037434] Modules linked in:
[ 36.037434] Modules linked in:
[ 36.037441] CPU: 0 PID: 178 Comm: kworker/0:1H Not tainted 4.11.0-10534-g044f1da #1
[ 36.037441] CPU: 0 PID: 178 Comm: kworker/0:1H Not tainted 4.11.0-10534-g044f1da #1
[ 36.037448] Workqueue: kblockd blk_mq_run_work_fn
[ 36.037448] Workqueue: kblockd blk_mq_run_work_fn
[ 36.037452] task: ffff88001abb8000 task.stack: ffffc90000388000
[ 36.037452] task: ffff88001abb8000 task.stack: ffffc90000388000
[ 36.037457] RIP: 0010:blk_mq_end_request+0x97/0xb0
[ 36.037457] RIP: 0010:blk_mq_end_request+0x97/0xb0
[ 36.037460] RSP: 0018:ffffc9000038bce8 EFLAGS: 00010297
[ 36.037460] RSP: 0018:ffffc9000038bce8 EFLAGS: 00010297
[ 36.037464] RAX: ffff88001abb8000 RBX: ffff88001df0b980 RCX: 0000000000000400
[ 36.037464] RAX: ffff88001abb8000 RBX: ffff88001df0b980 RCX: 0000000000000400
[ 36.037467] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000400
[ 36.037467] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000400
[ 36.037470] RBP: ffffc9000038bcf8 R08: 0000000000000000 R09: 0000000000000000
[ 36.037470] RBP: ffffc9000038bcf8 R08: 0000000000000000 R09: 0000000000000000
[ 36.037473] R10: 0000000000000001 R11: 0000000072f531ca R12: 00000000fffffffb
[ 36.037473] R10: 0000000000000001 R11: 0000000072f531ca R12: 00000000fffffffb
[ 36.037476] R13: ffffc9000038bd80 R14: ffff88001a847008 R15: ffff88001a8482d8
[ 36.037476] R13: ffffc9000038bd80 R14: ffff88001a847008 R15: ffff88001a8482d8
[ 36.037481] FS: 0000000000000000(0000) GS:ffff88001fa00000(0000) knlGS:0000000000000000
[ 36.037481] FS: 0000000000000000(0000) GS:ffff88001fa00000(0000) knlGS:0000000000000000
[ 36.037484] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 36.037484] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 36.037487] CR2: 00007f414771adb0 CR3: 000000001ae45000 CR4: 00000000000006b0
[ 36.037487] CR2: 00007f414771adb0 CR3: 000000001ae45000 CR4: 00000000000006b0
[ 36.037491] Call Trace:
[ 36.037491] Call Trace:
[ 36.037497] blk_mq_dispatch_rq_list+0x427/0x520
[ 36.037497] blk_mq_dispatch_rq_list+0x427/0x520
[ 36.037505] blk_mq_sched_dispatch_requests+0x160/0x1e0
[ 36.037505] blk_mq_sched_dispatch_requests+0x160/0x1e0
[ 36.037510] __blk_mq_run_hw_queue+0x1a0/0x2a0
[ 36.037510] __blk_mq_run_hw_queue+0x1a0/0x2a0
[ 36.037515] ? __blk_mq_run_hw_queue+0x168/0x2a0
[ 36.037515] ? __blk_mq_run_hw_queue+0x168/0x2a0
[ 36.037519] blk_mq_run_work_fn+0x3f/0x50
[ 36.037519] blk_mq_run_work_fn+0x3f/0x50
[ 36.037525] process_one_work+0x20f/0x4b0
[ 36.037525] process_one_work+0x20f/0x4b0
[ 36.037529] ? process_one_work+0x19c/0x4b0
[ 36.037529] ? process_one_work+0x19c/0x4b0
[ 36.037535] worker_thread+0x53/0x4d0
[ 36.037535] worker_thread+0x53/0x4d0
[ 36.037541] kthread+0x12b/0x170
[ 36.037541] kthread+0x12b/0x170
[ 36.037545] ? process_one_work+0x4b0/0x4b0
[ 36.037545] ? process_one_work+0x4b0/0x4b0
[ 36.037550] ? kthread_create_on_node+0x70/0x70
[ 36.037550] ? kthread_create_on_node+0x70/0x70
[ 36.037557] ret_from_fork+0x31/0x40
[ 36.037557] ret_from_fork+0x31/0x40
[ 36.037560] Code: 38 ca ff 4c 8b a3 40 01 00 00 4d 85 e4 75 1e e8 c0 38 ca ff 48 89 df e8 e8 6d 00 00 e8 b3 38 ca ff 5b 41 5c 5d c3 e8 a9 38 ca ff <0f> 0b e8 a2 38 ca ff 4c 89 e7 e8 ca 6d 00 00 eb d3 0f 1f 84 00
[ 36.037560] Code: 38 ca ff 4c 8b a3 40 01 00 00 4d 85 e4 75 1e e8 c0 38 ca ff 48 89 df e8 e8 6d 00 00 e8 b3 38 ca ff 5b 41 5c 5d c3 e8 a9 38 ca ff <0f> 0b e8 a2 38 ca ff 4c 89 e7 e8 ca 6d 00 00 eb d3 0f 1f 84 00
[ 36.037643] RIP: blk_mq_end_request+0x97/0xb0 RSP: ffffc9000038bce8
[ 36.037643] RIP: blk_mq_end_request+0x97/0xb0 RSP: ffffc9000038bce8
[ 36.037646] ---[ end trace 411e8acef3348c6b ]---
[ 36.037646] ---[ end trace 411e8acef3348c6b ]---
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 41f1830f5a7af77cf5c86359aba3cbd706687e52 v4.11 --
git bisect bad 1be627dfa74d9eee1eca1bc48653e461366a2bb9 # 11:48 B 62 2 0 0 Merge tag 'staging-4.12-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
git bisect bad ec059019b7e6ae3926a8e1dec02a62d64dd8c060 # 12:09 B 20 1 0 0 Merge branch 'for-linus-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml
git bisect bad 6b402bdfdbafce241cb6789ae38d94f45641078c # 12:37 B 51 1 0 0 Merge tag 'for-v4.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
git bisect good ab182e67ec99ea0c8d7435a32a4a1ed9bb02559a # 13:28 G 208 0 0 0 Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
git bisect bad 28b47809b2171a6cfbab839936b24280639c9f85 # 13:39 B 0 1 13 0 Merge tag 'iommu-updates-v4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu
git bisect bad 70ef8f0d37573079e093305214d0cc9eb71100f7 # 14:05 B 53 1 0 0 Merge tag 'for-f2fs-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
git bisect bad 677375cef8cb7763ef620e007873117b9bad72a0 # 14:47 B 98 1 0 0 Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/fscrypt
git bisect bad 13e0988140374123bead1dd27c287354cb95108e # 15:34 B 165 1 0 0 docs: complete bumping minimal GNU Make version to 3.81
git bisect bad fe7a719b30dfdb4d55680461954b99b257ebe671 # 16:03 B 49 1 0 0 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
git bisect bad d484467c860dab3e17893d23b2238e1f581460fa # 16:25 B 8 1 0 0 Merge tag 'xfs-4.12-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
git bisect good d557d1b58b3546bab2c5bc2d624c5709840e6b10 # 17:43 G 310 0 0 0 refcount: change EXPORT_SYMBOL markings
git bisect bad 044f1daaaaf7c86bc4fcf433848b7baae236946b # 17:53 B 0 1 13 0 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect good 507f7d68fe5c24973dcd6e48f011bdfbd2197f01 # 19:00 G 310 0 310 314 lightnvm: fix bad back free on error path
git bisect good 88aabbd7e7ace77fb3fbf06d22dd3cc0bfc0ca79 # 19:46 G 310 0 310 314 blk-mq-debugfs: rename hw queue directories from <n> to hctx<n>
git bisect good 9c1051aacde828073dbbab5e8e59c0fc802efa9a # 20:29 G 308 0 308 312 blk-mq: untangle debugfs and sysfs
git bisect good 16b738f651c83a01db057e5db02ec4b830af9130 # 21:30 G 310 0 310 314 kyber: add debugfs attributes
git bisect good daaadb3e9453ab89c2e113a2d1df8e19e30944cc # 22:22 G 302 0 302 306 mq-deadline: add debugfs attributes
# first bad commit: [044f1daaaaf7c86bc4fcf433848b7baae236946b] Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect good d557d1b58b3546bab2c5bc2d624c5709840e6b10 # 23:18 G 910 0 0 0 refcount: change EXPORT_SYMBOL markings
git bisect good daaadb3e9453ab89c2e113a2d1df8e19e30944cc # 01:30 G 907 0 907 1221 mq-deadline: add debugfs attributes
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 044f1daaaaf7c86bc4fcf433848b7baae236946b # 01:47 B 16 1 0 0 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on HEAD of linux-devel/devel-spot-201706220724
git bisect bad 7d64799d1536df3eef4ba6cc7cb2258a1943f637 # 01:47 B 43 2 0 2 0day head guard for 'devel-spot-201706220724'
# extra tests on tree/branch linus/master
git bisect bad 8d829b9bb878904f3419af8003176a12910b94e8 # 02:24 B 85 1 0 0 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
# extra tests on tree/branch linux-next/master
git bisect bad 09c17284731e42dbe4c6d334603e9c05ba1219ae # 02:51 B 57 1 0 1 Add linux-next specific files for 20170622
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
[rtmutex] cde50a6739 udevd/1243 is trying to release lock (rcu_preempt_state) at:
by Fengguang Wu
Greetings,
FYI it may not be a new problem, however looks relevant to rtmutex.
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit cde50a67397c0da7d11795d4b4418384022ab8e6
Author: Levin, Alexander (Sasha Levin) <alexander.levin(a)verizon.com>
AuthorDate: Sun Jun 18 14:06:01 2017 +0000
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Tue Jun 20 11:53:09 2017 +0200
locking/rtmutex: Don't initialize lockdep when not required
pi_mutex isn't supposed to be tracked by lockdep, but just
passing NULLs for name and key will cause lockdep to spew a
warning and die, which is not what we want it to do.
Skip lockdep initialization if the caller passed NULLs for
name and key, suggesting such initialization isn't desired.
Signed-off-by: Sasha Levin <alexander.levin(a)verizon.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Fixes: f5694788ad8d ("rt_mutex: Add lockdep annotations")
Link: http://lkml.kernel.org/r/20170618140548.4763-1-alexander.levin@verizon.com
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
018956d641 locking/selftest: Add RT-mutex support
cde50a6739 locking/rtmutex: Don't initialize lockdep when not required
a73468728f Add linux-next specific files for 20170623
+-------------------------------------------------------+------------+------------+---------------+
| | 018956d641 | cde50a6739 | next-20170623 |
+-------------------------------------------------------+------------+------------+---------------+
| boot_successes | 297 | 113 | 145 |
| boot_failures | 77 | 21 | 31 |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 77 | | |
| EIP:lockdep_init_map | 77 | | |
| is_trying_to_release_lock(rcu_preempt_state)at | 0 | 21 | 31 |
| calltrace:SyS_setpriority | 0 | 21 | 31 |
+-------------------------------------------------------+------------+------------+---------------+
[ 12.749969] WARNING: bad unlock balance detected!
[ 12.749969] 4.12.0-rc4-00028-gcde50a6 #1 Not tainted
[ 12.749969] 4.12.0-rc4-00028-gcde50a6 #1 Not tainted
[ 12.749969] -------------------------------------
[ 12.749969] -------------------------------------
[ 12.749969] udevd/1243 is trying to release lock (rcu_preempt_state) at:
[ 12.749969] udevd/1243 is trying to release lock (rcu_preempt_state) at:
[ 12.749969] [<41076f63>] rcu_read_unlock_special+0x431/0x54c
[ 12.749969] [<41076f63>] rcu_read_unlock_special+0x431/0x54c
[ 12.749969] but there are no more locks to release!
[ 12.749969] but there are no more locks to release!
[ 12.749969]
[ 12.749969] other info that might help us debug this:
[ 12.749969]
[ 12.749969] other info that might help us debug this:
[ 12.749969] 1 lock held by udevd/1243:
[ 12.749969] 1 lock held by udevd/1243:
[ 12.749969] #0: (rcu_read_lock){......}, at: [<41035e7b>] SyS_setpriority+0x54/0x37a
[ 12.749969] #0: (rcu_read_lock){......}, at: [<41035e7b>] SyS_setpriority+0x54/0x37a
[ 12.749969]
[ 12.749969] stack backtrace:
[ 12.749969]
[ 12.749969] stack backtrace:
[ 12.749969] CPU: 0 PID: 1243 Comm: udevd Not tainted 4.12.0-rc4-00028-gcde50a6 #1
[ 12.749969] CPU: 0 PID: 1243 Comm: udevd Not tainted 4.12.0-rc4-00028-gcde50a6 #1
[ 12.749969] Call Trace:
[ 12.749969] Call Trace:
[ 12.749969] dump_stack+0x16/0x18
[ 12.749969] dump_stack+0x16/0x18
[ 12.749969] print_unlock_imbalance_bug+0xb4/0xc1
[ 12.749969] print_unlock_imbalance_bug+0xb4/0xc1
[ 12.749969] ? rcu_read_unlock_special+0x431/0x54c
[ 12.749969] ? rcu_read_unlock_special+0x431/0x54c
[ 12.749969] ? rcu_read_unlock_special+0x431/0x54c
[ 12.749969] ? rcu_read_unlock_special+0x431/0x54c
[ 12.749969] lock_release+0x20e/0x284
[ 12.749969] lock_release+0x20e/0x284
[ 12.749969] ? rcu_read_unlock_special+0x431/0x54c
[ 12.749969] ? rcu_read_unlock_special+0x431/0x54c
[ 12.749969] rt_mutex_unlock+0x23/0x8b
[ 12.749969] rt_mutex_unlock+0x23/0x8b
[ 12.749969] ? rcu_report_unblock_qs_rnp+0x2b/0x72
[ 12.749969] ? rcu_report_unblock_qs_rnp+0x2b/0x72
[ 12.749969] rcu_read_unlock_special+0x431/0x54c
[ 12.749969] rcu_read_unlock_special+0x431/0x54c
[ 12.749969] ? preempt_schedule_common+0x39/0x45
[ 12.749969] ? preempt_schedule_common+0x39/0x45
[ 12.749969] __rcu_read_unlock+0x55/0xab
[ 12.749969] __rcu_read_unlock+0x55/0xab
[ 12.749969] SyS_setpriority+0x35c/0x37a
[ 12.749969] SyS_setpriority+0x35c/0x37a
[ 12.749969] ? SyS_rt_sigprocmask+0x9a/0xe2
[ 12.749969] ? SyS_rt_sigprocmask+0x9a/0xe2
[ 12.749969] do_int80_syscall_32+0x72/0x1c0
[ 12.749969] do_int80_syscall_32+0x72/0x1c0
[ 12.749969] entry_INT80_32+0x33/0x33
[ 12.749969] entry_INT80_32+0x33/0x33
[ 12.749969] EIP: 0x3766e3e4
[ 12.749969] EIP: 0x3766e3e4
[ 12.749969] EFLAGS: 00000202 CPU: 0
[ 12.749969] EFLAGS: 00000202 CPU: 0
[ 12.749969] EAX: ffffffda EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 12.749969] EAX: ffffffda EBX: 00000000 ECX: 00000000 EDX: 00000000
[ 12.749969] ESI: 08069008 EDI: 00000004 EBP: 080807b0 ESP: 3fee8818
[ 12.749969] ESI: 08069008 EDI: 00000004 EBP: 080807b0 ESP: 3fee8818
[ 12.749969] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 6ebdabb1773d3faaae8d1b095ca1ddb3b6b21bfc 41f1830f5a7af77cf5c86359aba3cbd706687e52 --
git bisect bad 7a10f2087e707702a0ec184068f8265a96a7bf73 # 04:31 B 8 2 0 0 Merge 'linux-review/Chao-Yu/f2fs-introduce-reserved_blocks-in-sysfs/20170616-134526' into devel-hourly-2017062218
git bisect good 09ef54f063432bf4a33778962af8ae95f1458ef2 # 05:12 G 32 0 6 6 Merge 'linux-review/Hendrik-Brueckner/kernel-perf-correct-return-code-of-rb_alloc_aux-if-has_aux-ev/20170621-042331' into devel-hourly-2017062218
git bisect bad 7044da58ea82ce3a8d1e88e46653db6393716de0 # 05:49 B 5 1 0 0 Merge 'linux-review/Jia-Ju-Bai/netxen-Fix-a-sleep-in-atomic-bug-in-netxen_nic_hw_read_wx_2M-and-netxen_nic_hw_write_wx_2M/20170619-110633' into devel-hourly-2017062218
git bisect good a8c84e7e4ab7eae8ceac29fe0972fcc172e27310 # 07:18 G 49 0 13 14 Merge 'linux-review/Shriya/tools-perf-pmu-events-Support-additional-POWER8-PVR-in-mapfile/20170619-173946' into devel-hourly-2017062218
git bisect good 07b99556986456da94011afdb2190bb10e79b0fe # 08:50 G 49 0 10 11 Merge 'linux-review/Kirill-Tkhai/rwsem-Implement-down_read_killable/20170620-092118' into devel-hourly-2017062218
git bisect bad b99070bc13a8fc91b887c6712f43655ff30a08ec # 09:36 B 4 1 0 0 Merge 'arm-soc/tegra/dt64' into devel-hourly-2017062218
git bisect bad 69a7fddaeda56f4583caa898b70f34cbd07bd295 # 10:40 B 17 1 0 0 Merge 'linux-review/Smitha-T-Murthy/Add-MFC-v10-10-support/20170619-160252' into devel-hourly-2017062218
git bisect good c7d0851d706dd72eea8698e73c0a2f5d3911fb53 # 12:32 G 120 0 25 25 Merge 'linux-review/Masahiro-Yamada/kbuild-deprecate-cc-option-align/20170619-171834' into devel-hourly-2017062218
git bisect bad e0321b333e83a64ab5df50fce1c92c466c063323 # 12:53 B 4 1 0 0 Merge 'tip/locking/core' into devel-hourly-2017062218
git bisect good 77e63368428a7a1c83bd3c0ba47ca32ae062c57f # 16:33 G 122 0 25 25 Merge 'linux-review/Ziping-Chen/Allwinner-A83T-R_LRADC-support/20170621-171218' into devel-hourly-2017062218
git bisect bad cde50a67397c0da7d11795d4b4418384022ab8e6 # 17:44 B 15 2 0 0 locking/rtmutex: Don't initialize lockdep when not required
# first bad commit: [cde50a67397c0da7d11795d4b4418384022ab8e6] locking/rtmutex: Don't initialize lockdep when not required
git bisect good 018956d6419be3e5ff5aacc60b2a3cff585adee1 # 23:41 G 360 0 76 76 locking/selftest: Add RT-mutex support
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad cde50a67397c0da7d11795d4b4418384022ab8e6 # 00:29 B 1 1 0 0 locking/rtmutex: Don't initialize lockdep when not required
# extra tests on HEAD of linux-devel/devel-hourly-2017062218
git bisect bad 6ebdabb1773d3faaae8d1b095ca1ddb3b6b21bfc # 00:29 B 9 3 0 0 0day head guard for 'devel-hourly-2017062218'
# extra tests on tree/branch linux-next/master
git bisect bad a73468728fd8f34ccbd7c60f0808024ae491f4d6 # 01:46 B 0 2 15 0 Add linux-next specific files for 20170623
# extra tests with first bad commit reverted
git bisect good effae17f407515c6514f114d07f76dd977cce290 # 05:29 G 122 0 22 22 Revert "locking/rtmutex: Don't initialize lockdep when not required"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
[lkp-robot] [perf/core] cc1582c231: stderr.Wrong_number_of_overflows
by kernel test robot
FYI, we noticed the following commit:
commit: cc1582c231ea041fbc68861dfaf957eaf902b829 ("perf/core: Drop kernel samples even though :u is specified")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
in testcase: perf_event_tests
with following parameters:
paranoid: disallow_raw_tracepoint
test-description: The Perf Event Testsuite.
test-url: https://github.com/deater/perf_event_tests
on test machine: 8 threads Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz with 8G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
[ 36.763493] + /lkp/benchmarks/perf_event_tests/tests/overflow/simultaneous_overflow
[ 36.763494]
[ 37.353301] Testing multiple event overflow... FAILED
[ 37.353304]
[ 37.355095] Wrong number of overflows!
[ 37.355098]
[ 37.359993] + /lkp/benchmarks/perf_event_tests/tests/overflow/simultaneous_group_overflow
[ 37.359994]
[ 37.992506] Testing multiple event overflow within group... FAILED
[ 37.992508]
[ 37.996951] + /lkp/benchmarks/perf_event_tests/tests/overflow/simul_oneshot_group_overflow
To reproduce:
git clone https://github.com/01org/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, 6 months
[lkp-robot] [cpufreq] 2dcdc7b0ed: [No primary change] fwq.fwq.med -9%
by kernel test robot
Greeting,
There is no primary kpi change in this test, below is the data collected through multiple monitors running background just for your information.
commit: 2dcdc7b0eda852f735e9d120918dcd8bc9aa5603 ("cpufreq: intel_pstate: Remove max/min fractions to limit performance")
url: https://github.com/0day-ci/linux/commits/Srinivas-Pandruvada/cpufreq-inte...
base: https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git linux-next
in testcase: fwq
on test machine: 256 threads Phi with 96G memory
with following parameters:
nr_task: 100%
samples: 100000ss
iterations: 18x
cpufreq_governor: powersave
Details are as below:
-------------------------------------------------------------------------------------------------->
To reproduce:
git clone https://github.com/01org/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
testcase/path_params/tbox_group/run: fwq/100%-100000ss-18x-powersave/lkp-knl-f1
5de024d950a8f7d1 2dcdc7b0eda852f735e9d12091
---------------- --------------------------
%stddev change %stddev
\ | \
12532630 -9% 11390424 fwq.fwq.min
13716725 -9% 12464354 fwq.fwq.med
7.783e+08 -12% 6.841e+08 fwq.fwq.noise.2%
6.313e+08 -15% 5.395e+08 fwq.fwq.noise.75%
6.481e+08 -15% 5.488e+08 fwq.fwq.noise.50%
6.59e+08 -15% 5.572e+08 fwq.fwq.noise.25%
6.775e+08 -15% 5.726e+08 fwq.fwq.noise.5%
245479 -4% 236242 fwq.time.maximum_resident_set_size
270828 -9% 247524 fwq.time.involuntary_context_switches
273272 -9% 248339 fwq.time.user_time
1161 -9% 1054 fwq.time.elapsed_time
1161 -9% 1054 fwq.time.elapsed_time.max
64.44 -10% 58.07 fwq.time.system_time
fwq.time.user_time
275000 ++-----------------------------------------------------------------+
*.*..*.*.*..*.*.*.*..*.*.*..*.*.*..*.*.*..*.*.*..*.*.*.*..*.*.*..*.*
270000 ++ |
| |
| |
265000 ++ |
| |
260000 ++ |
| |
255000 ++ |
| |
| |
250000 ++O O O O O O O O O O O O O O O O O O O O O |
O O O O O O |
245000 ++-----------------------------------------------------------------+
fwq.time.elapsed_time
1180 ++-------------------------------------------------------------------+
| |
1160 *+*..*.*..*.*.*..*.*.*..*.*..*.*.*..*.*.*..*.*..*.*.*..*.*.*..*.*..*.*
| |
1140 ++ |
| |
1120 ++ |
| |
1100 ++ |
| |
1080 ++ |
| |
1060 O+O O O O O O O O O O O O O O |
| O O O O O O O O O O O O |
1040 ++-------------------------------------------------------------------+
fwq.time.elapsed_time.max
1180 ++-------------------------------------------------------------------+
| |
1160 *+*..*.*..*.*.*..*.*.*..*.*..*.*.*..*.*.*..*.*..*.*.*..*.*.*..*.*..*.*
| |
1140 ++ |
| |
1120 ++ |
| |
1100 ++ |
| |
1080 ++ |
| |
1060 O+O O O O O O O O O O O O O O |
| O O O O O O O O O O O O |
1040 ++-------------------------------------------------------------------+
fwq.fwq.med
1.38e+07 ++---------------------------------------------------------------+
*.*.*..*.*.*.*..*.*.*.*..*.*.*.*..*.*.*.*..*.*.*.*..*.*.*.*..*.*.*
1.36e+07 ++ |
| |
1.34e+07 ++ |
| |
1.32e+07 ++ |
| |
1.3e+07 ++ |
| |
1.28e+07 ++ |
| |
1.26e+07 ++ |
O O O O O O O O O O O O O O O O O O O O O O O O O O O |
1.24e+07 ++---------------------------------------------------------------+
fwq.fwq.noise.75_
6.6e+08 ++----------------------------------------------------------------+
| |
6.4e+08 ++ .*.*.*.*..*.*. .*. |
*.*.. *. *..* *.*.*.. *. *.*.*..*.*
6.2e+08 ++ : + + : |
| *. : *. + *. : |
6e+08 ++ *.* *.* *.* |
| |
5.8e+08 ++ |
| |
5.6e+08 ++ |
| O |
5.4e+08 ++ O O O O O O O O O O O O O O O O O O O O O |
O O O O O |
5.2e+08 ++----------------------------------------------------------------+
fwq.fwq.noise.50_
6.6e+08 ++--------------*------*------------------------------------------+
*. *..* *.*. *.*.. *.*. *..*.*.*.*..*.*
6.4e+08 ++*.. : * + *.. : |
| : + + : |
6.2e+08 ++ *.*.* *.*.* *.*.* |
| |
6e+08 ++ |
| |
5.8e+08 ++ |
| |
5.6e+08 ++ O O |
| O O O O O O O O O O O O O O O O O O O O |
5.4e+08 O+O O O O |
| |
5.2e+08 ++----------------------------------------------------------------+
fwq.fwq.noise.25_
6.8e+08 ++----------------------------------------------------------------+
| .*. .*. |
6.6e+08 *+* *..* *.*. *.*..* *.*.* *..*.*.*.*..*.*
| + : : + + : |
6.4e+08 ++ + : : + + : |
| *.*.* *.*.* *.*.* |
6.2e+08 ++ |
| |
6e+08 ++ |
| |
5.8e+08 ++ |
| O |
5.6e+08 ++ O O O O O O O O O O O O O O O O O O O |
| O O O O O |
5.4e+08 O+---O------------------------------------------------------------+
fwq.fwq.noise.5_
7e+08 ++----------------------------------------------------------------+
| .*. .*. |
6.8e+08 *+*.. *..* *.*. *.*..* *.*.*.. *..*.*.*.*..*.*
6.6e+08 ++ + + .. + |
| *. .* *. .* *. .* |
6.4e+08 ++ * * * |
| |
6.2e+08 ++ |
| |
6e+08 ++ |
5.8e+08 ++ O O O O |
| O O O O O O O O O O O O O O O O O O |
5.6e+08 O+O O O O |
| |
5.4e+08 ++----------------------------------------------------------------+
[*] 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, 6 months
64e4e01a47 ("KVM: async_pf: Let host know whether the guest suppo..."): kvm_smp_prepare_boot_cpu+0x
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux/commits/Wanpeng-Li/KVM-async_pf-Fix-asyn...
commit 64e4e01a47929e1b12649e371643331452bd5a84
Author: Wanpeng Li <wanpeng.li(a)hotmail.com>
AuthorDate: Wed Jun 21 19:06:54 2017 -0700
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Fri Jun 23 16:24:17 2017 +0800
KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
Adds another flag bit (bit 2) to MSR_KVM_ASYNC_PF_EN. If bit 2 is 1, async
page faults are delivered to L1 as #PF vmexits; if bit 2 is 0, kvm_can_do_async_pf
returns 0 if in guest mode.
Cc: Paolo Bonzini <pbonzini(a)redhat.com>
Cc: Radim Krčmář <rkrcmar(a)redhat.com>
Signed-off-by: Wanpeng Li <wanpeng.li(a)hotmail.com>
14a3051e20 KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
64e4e01a47 KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
64e4e01a47 KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
+----------------+------------+------------+------------+
| | 14a3051e20 | 64e4e01a47 | 64e4e01a47 |
+----------------+------------+------------+------------+
| boot_successes | 35 | 4 | 4 |
+----------------+------------+------------+------------+
[ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:1 nr_node_ids:1
[ 0.000000] percpu: Embedded 44 pages/cpu @ffff88001a600000 s141056 r8192 d30976 u2097152
[ 0.000000] pcpu-alloc: s141056 r8192 d30976 u2097152 alloc=1*2097152
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] unchecked MSR access error: WRMSR to 0x4b564d02 (tried to write 0x000000001a615647) at rIP: 0xffffffff8a466454 (native_write_msr+0x4/0x30)
[ 0.000000] Call Trace:
[ 0.000000] ? kvm_guest_cpu_init+0x116/0x1c0
[ 0.000000] kvm_smp_prepare_boot_cpu+0xe/0x15
[ 0.000000] start_kernel+0x16b/0x4d7
[ 0.000000] ? thread_stack_cache_init+0x10/0x10
[ 0.000000] ? native_write_idt_entry+0x3e/0x50
[ 0.000000] x86_64_start_reservations+0x2f/0x31
[ 0.000000] x86_64_start_kernel+0x143/0x152
[ 0.000000] secondary_startup_64+0x9f/0x9f
[ 0.000000] KVM setup async PF for cpu 0
[ 0.000000] kvm-stealtime: cpu 0, msr 1a615600
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 128859
[ 0.000000] Kernel command line: root=/dev/ram0 hung_task_panic=1 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 earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal rw link=/kbuild-tests/run-queue/yocto-vp/x86_64-randconfig-s2-06261058/linux-devel:devel-hourly-2017062603:64e4e01a47929e1b12649e371643331452bd5a84:bisect-linux-7/.vmlinuz-64e4e01a47929e1b12649e371643331452bd5a84-20170626143449-5:yocto-vp-26 branch=linux-devel/devel-hourly-2017062603 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-s2-06261058/gcc-6/64e4e01a47929e1b12649e371643331452bd5a84/vmlinuz-4.12.0-rc5-00404-g64e4e01 drbd.minor_count=8
[ 0.000000] sysrq: sysrq always enabled.
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start b36d2325226494534e29ddfe888bf8c304eaca24 41f1830f5a7af77cf5c86359aba3cbd706687e52 --
git bisect good eb4082c70710e098c06cd765fa75a0e3823c32d6 # 11:42 G 11 0 11 11 Merge 'linux-review/Horia-Geant/crypto-caam-fix-gfp-allocation-flags-part-I/20170619-190441' into devel-hourly-2017062603
git bisect bad f89a4b3129fbdfaece534169edbac7ef94fa579b # 11:53 B 0 11 23 0 Merge 'linux-review/Brian-Gerst/x86-IOPL-switching-cleanups/20170615-151205' into devel-hourly-2017062603
git bisect bad 91e18312313fdd914f8d37a57343f30f086b3775 # 12:16 B 0 10 23 1 Merge 'linux-review/Tejun-Heo/sched-Allow-migrating-kthreads-into-online-but-inactive-CPUs/20170619-004921' into devel-hourly-2017062603
git bisect bad b8d5e2f368cdc6edd2fdd52d0488687b77c99ce3 # 12:38 B 0 11 23 0 Merge 'linux-review/Kirill-Tkhai/rwsem-Implement-down_read_killable/20170620-092118' into devel-hourly-2017062603
git bisect good fa82246a86bcc3b355492a2af52d0ac54b6b6382 # 12:47 G 11 0 11 11 Merge 'linux-review/Oleksij-Rempel/ARM-dts-imx6-RIoTboard-provide-gpio-line-names/20170621-162822' into devel-hourly-2017062603
git bisect bad 83ffd343cf71c509ec783e89081fde7b6cebe85c # 13:02 B 0 11 23 0 Merge 'perf/tmp.perf/annotate' into devel-hourly-2017062603
git bisect bad 9474f84686e7cb6ad2867a06d211f4e549292454 # 13:17 B 0 11 23 0 Merge 'linux-review/Paolo-Abeni/udp-v6-prefetch-rmem_alloc-in-udp6_queue_rcv_skb/20170623-015244' into devel-hourly-2017062603
git bisect bad 69cd1c7b3ac55c7a30404aeac12f0ce2a523cb1d # 13:26 B 0 11 23 0 Merge 'linux-review/Yuval-Mintz/qed-RDMA-and-infrastructure-for-iWARP/20170621-091721' into devel-hourly-2017062603
git bisect good 5017cbd93dddc9af50b860da847687177b388a24 # 13:38 G 11 0 11 11 Merge 'p2pmem/io64_v2' into devel-hourly-2017062603
git bisect bad a9a10bc12984c25bca88fcc6678740506409865d # 13:50 B 0 7 20 1 Merge 'linux-review/Wanpeng-Li/KVM-async_pf-Fix-async_pf-exception-injection/20170623-162406' into devel-hourly-2017062603
git bisect good deddbe86d4ace7c927927c580e80e18269af1d0d # 14:05 G 11 0 0 0 KVM: async_pf: Add L1 guest async_pf #PF vmexit handler
git bisect bad 64e4e01a47929e1b12649e371643331452bd5a84 # 14:36 B 0 10 23 0 KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
git bisect good 14a3051e20b1838a144986735cc25a1bbf501d66 # 14:53 G 11 0 0 0 KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
# first bad commit: [64e4e01a47929e1b12649e371643331452bd5a84] KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
git bisect good 14a3051e20b1838a144986735cc25a1bbf501d66 # 14:56 G 31 0 0 0 KVM: async_pf: Force a nested vmexit if the injected #PF is async_pf
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 64e4e01a47929e1b12649e371643331452bd5a84 # 15:08 B 0 11 24 0 KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
# extra tests on HEAD of linux-devel/devel-hourly-2017062603
git bisect bad b36d2325226494534e29ddfe888bf8c304eaca24 # 15:08 B 0 31 46 0 0day head guard for 'devel-hourly-2017062603'
# extra tests on tree/branch linux-review/Wanpeng-Li/KVM-async_pf-Fix-async_pf-exception-injection/20170623-162406
git bisect bad 64e4e01a47929e1b12649e371643331452bd5a84 # 15:11 B 0 11 24 0 KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit
# extra tests with first bad commit reverted
git bisect good 97fe9672cce750076ea7acb34e40345029e5e3ee # 15:23 G 11 0 0 0 Revert "KVM: async_pf: Let host know whether the guest support delivery async_pf as #PF vmexit"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 6 months
040de6ebde ("mtd: Fallback to ->_read/write_oob() when ->_read/wr..."): BUG: unable to handle kernel NULL pointer dereference at (null)
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.infradead.org/users/dedekind/l2-mtd.git nand/next
commit 040de6ebdeea7b666c0e33c351b2847050275579
Author: Boris Brezillon <boris.brezillon(a)free-electrons.com>
AuthorDate: Sun Jun 11 22:42:55 2017 +0200
Commit: Boris Brezillon <boris.brezillon(a)free-electrons.com>
CommitDate: Sat Jun 24 21:32:49 2017 +0200
mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
Some MTD sublayers/drivers are implementing ->_read/write_oob() and
providing dummy wrappers for their ->_read/write() implementations.
Let the core handle this case instead of duplicating the logic.
Signed-off-by: Boris Brezillon <boris.brezillon(a)free-electrons.com>
Acked-by: Robert Jarzmik <robert.jarzmik(a)free.fr>
Acked-by: Brian Norris <computersforpeace(a)gmail.com>
a57ce43950 MAINTAINERS: add entry for Denali NAND controller driver
040de6ebde mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
4922adb306 mtd: nand: mtk: add ->setup_data_interface() hook
+------------------------------------------+------------+------------+------------+
| | a57ce43950 | 040de6ebde | 4922adb306 |
+------------------------------------------+------------+------------+------------+
| boot_successes | 35 | 2 | 4 |
| boot_failures | 0 | 13 | 15 |
| BUG:unable_to_handle_kernel | 0 | 13 | 15 |
| Oops:#[##] | 0 | 13 | 15 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 13 | 15 |
+------------------------------------------+------------+------------+------------+
[ 15.809135] pidof (223) used greatest stack depth: 13656 bytes left
[ 16.032144] udevadm (227) used greatest stack depth: 13144 bytes left
[ 16.032144] udevadm (227) used greatest stack depth: 13144 bytes left
[ 16.246605] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[ 16.246605] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input5
[ 16.378803] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 16.378803] BUG: unable to handle kernel NULL pointer dereference at (null)
[ 16.381166] IP: (null)
[ 16.381166] IP: (null)
[ 16.382130] PGD 1a6c6067
[ 16.382130] PGD 1a6c6067
[ 16.382133] P4D 1a6c6067
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 11a0bb67d48fefc2610dfaa27f477c5cdab1c45b 41f1830f5a7af77cf5c86359aba3cbd706687e52 --
git bisect bad af0dc25c97fb9907e8b0831552604b6f43e764ae # 19:01 B 0 11 22 0 Merge 'hwmon/hwmon-next' into devel-spot-201706251637
git bisect good 384fc8848f2753daaea06bd0f8b4e349000a49da # 19:14 G 11 0 0 0 Merge 'linux-review/Pierre-Louis-Bossart/Lenovo-tablet-fixes/20170625-121908' into devel-spot-201706251637
git bisect good a0a2a58fdca1e037a8cdb46f34e9d40383742f55 # 19:28 G 11 0 0 0 Merge 'linux-review/Harry-Chou/mtd-spi-nor-Add-support-for-Spansion-S25FL064L/20170624-234717' into devel-spot-201706251637
git bisect good f7c851f74833faaa5b2199d4c8c6fa6841e5ae2c # 19:42 G 11 0 0 0 Merge 'linux-review/Breno-Leitao/powerpc-kernel-Avoid-redundancies-on-giveup_all/20170625-101622' into devel-spot-201706251637
git bisect good 24814d327477c4ec16eec5fa9bfc08c234ea4eea # 19:52 G 11 0 0 0 Merge 'chao-linux/quota' into devel-spot-201706251637
git bisect good df99874d819c1601daec45ece679eebd3f85132d # 20:14 G 11 0 0 0 Merge 'open-channel-ssd/pblk.for-4.13' into devel-spot-201706251637
git bisect bad 007fcc68c05959efa273b5f126e6e31cf6ccfd3a # 20:27 B 0 1 13 0 Merge 'mtd-next/nand/next' into devel-spot-201706251637
git bisect good d49f5790278d18fd6b8e474397d9abfdf29a48f2 # 20:46 G 11 0 0 0 mtd: nand: denali: use interrupt instead of polling for bank reset
git bisect good d1ab0da84dcbac30a9039ccef72d69bf0a68bfc7 # 20:57 G 11 0 0 0 mtd: nand: ifc: Initialize SRAM for all version >= 1.0
git bisect bad 92ca434b9c09549193290d6f0f7133375e2d6e4c # 21:05 B 0 1 12 0 mtd: nand: mtk: fix incorrect register setting order about ecc irq
git bisect good a7adb70a73b7cb220f4515745d2671d2226e0097 # 21:21 G 11 0 0 0 dt-bindings: gpmc: Correct location of generic gpmc binding
git bisect bad 040de6ebdeea7b666c0e33c351b2847050275579 # 21:28 B 0 5 16 0 mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
git bisect good a57ce439505da3801e264656a3bdf746505c77ec # 21:48 G 11 0 0 0 MAINTAINERS: add entry for Denali NAND controller driver
# first bad commit: [040de6ebdeea7b666c0e33c351b2847050275579] mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
git bisect good a57ce439505da3801e264656a3bdf746505c77ec # 22:06 G 31 0 0 0 MAINTAINERS: add entry for Denali NAND controller driver
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 040de6ebdeea7b666c0e33c351b2847050275579 # 22:19 B 0 11 22 0 mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing
# extra tests on HEAD of linux-devel/devel-spot-201706251637
git bisect bad 11a0bb67d48fefc2610dfaa27f477c5cdab1c45b # 22:19 B 0 13 27 0 0day head guard for 'devel-spot-201706251637'
# extra tests on tree/branch l2-mtd/nand/next
git bisect bad 4922adb306240ceee3300a516675e5caef45de73 # 22:28 B 0 1 12 0 mtd: nand: mtk: add ->setup_data_interface() hook
# extra tests with first bad commit reverted
git bisect good f7481b7c9c36436afa86a98023a60df9eef2d083 # 22:49 G 11 0 0 0 Revert "mtd: Fallback to ->_read/write_oob() when ->_read/write() is missing"
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
3 years, 7 months