Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/pcid
commit 38acfe1c86ca4f1cab9a5b9f0d8b3655e0cd10f6
Author: Andy Lutomirski <luto(a)kernel.org>
AuthorDate: Tue Mar 22 15:22:30 2016 -0700
Commit: Andy Lutomirski <luto(a)kernel.org>
CommitDate: Wed Feb 8 09:00:00 2017 -0800
x86/mm: Hold a spinlock when propagating TLB flushes
We currently allow unlimited concurrency when flushing TLB entries
associated with an mm_struct. This isn't a problem right now, but,
when we add ASID support, this would make the bookkeeping very
messy.
This patch adds a per-mm spinlock that is held only when propagating
TLB flushes for that mm. This means that there will be a total
order of flush events for a given mm, which means that we will be
able to cleanly associate generation numbers with an mm.
This should have negligible performance impact: TLB flush
propagation is effectively serialized by the synchronous cross-CPU
function calls even if multiple CPUs try to do propagate_tlb_flush()
concurrently.
Signed-off-by: Andy Lutomirski <luto(a)kernel.org>
+-----------------------------------------------------+------------+------------+------------------+
| | a966ff5e8e | 38acfe1c86 |
v4.10-rc7_021101 |
+-----------------------------------------------------+------------+------------+------------------+
| boot_successes | 2 | 0 | 0
|
| boot_failures | 90 | 26 | 57
|
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page | 90 | 22 | 39
|
| INFO:trying_to_register_non-static_key | 0 | 26 | 57
|
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 0 | 9
|
| BUG:unable_to_handle_kernel | 0 | 0 | 8
|
| Oops | 0 | 0 | 8
|
| Kernel_panic-not_syncing:Fatal_exception | 0 | 0 | 8
|
| WARNING:at_lib/list_debug.c:#__list_add_valid | 0 | 0 | 17
|
| WARNING:at_lib/list_debug.c:#__list_del_entry_valid | 0 | 0 | 11
|
| WARNING:at_kernel/sched/sched.h:#set_next_entity | 0 | 0 | 1
|
+-----------------------------------------------------+------------+------------+------------------+
[ 13.188152] ### dt-test ### end of unittest - 129 passed, 0 failed
[ 13.189848] genirq: Flags mismatch irq 4. 00000000 (serial) vs. 00000080
(goldfish_pdev_bus)
[ 13.190681] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.10.0-rc7-00008-g38acfe1 #1
[ 13.190681] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.9.3-20161025_171302-gandalf 04/01/2014
[ 13.190681] Call Trace:
[ 13.190681] dump_stack+0x58/0x79
[ 13.190681] __setup_irq+0x4c6/0x520
[ 13.190681] request_threaded_irq+0x125/0x200
git bisect start bc300b7d114e987e2d79698f2d44fbabe7c12e33
d5adbfcd5f7bcc6fa58a41c5c5ada0e5c826ce2c --
git bisect bad fb18ab229c7c4faf28ce06dbbe55f90db0cf846e # 09:08 0- 14 Merge
'linux-review/Andy-Shevchenko/platform-x86-intel_mid_powerbtn-Use-SCU-IPC-directly/20170209-011410'
into devel-hourly-2017021101
git bisect bad 0cfeff73f204274c6fef919cd710826f1a044bc1 # 09:38 0- 3 Merge
'jlayton/ceph-4.11' into devel-hourly-2017021101
git bisect good f4c68401c1cb4964026cb184c4f46d54aa58cc16 # 09:51 22+ 24 Merge
'bp/for-next' into devel-hourly-2017021101
git bisect bad b9c31eb7f4219161cac5b031348c09259766f99d # 10:08 0- 10 Merge
'linux-review/Tobin-C-Harding/Whitespace-checkpatch-fixes/20170209-152811' into
devel-hourly-2017021101
git bisect bad ea072d546ea737978d2761b3afb723ee3cfae1f6 # 10:16 0- 1 Merge
'linux-review/Florian-Westphal/netfilter-nat-remove-incorrect-debug-assert/20170209-063353'
into devel-hourly-2017021101
git bisect good f86d4ed070472ad56f77dd3f2c1ce8de13d35abf # 10:39 21+ 21 Merge
'linux-review/Sven-Schmidt/Update-LZ4-compressor-module/20170206-031758' into
devel-hourly-2017021101
git bisect bad 2af58b4747d9424d77d10db1805c5cc7e4893558 # 10:53 0- 3 Merge
'linux-review/Igor-Pylypiv/net-fix-description-of-skb_find_text-according-to-removed-functionality/20170208-105106'
into devel-hourly-2017021101
git bisect bad 220ce639c9606f5a06b9549ed8bdda0f5478eee2 # 11:02 0- 9 Merge
'linux-review/Brian-Norris/ARM-multi_v7_defconfig-enable-pstore-configs/20170210-111413'
into devel-hourly-2017021101
git bisect bad a2d213465b210c93750e6f8ee374039db818e88c # 11:27 0- 4 Merge
'luto/x86/pcid' into devel-hourly-2017021101
git bisect good b08efabb3fa3e78106dc28f1557b8b8bb6d9bb92 # 11:38 20+ 22 x86/mm:
Teach CR3 readers about PCID
git bisect good a966ff5e8eb57208523f0eacb8ab46008688b1b2 # 11:52 21+ 21 x86/mm:
Factor out remote TLB flushing
git bisect bad 38c2fefbbd2411297ec831f162882561f712a73f # 12:01 0- 6 x86/mm:
Try to preserve old TLB entries using PCID
git bisect bad 38acfe1c86ca4f1cab9a5b9f0d8b3655e0cd10f6 # 12:24 0- 2 x86/mm:
Hold a spinlock when propagating TLB flushes
# first bad commit: [38acfe1c86ca4f1cab9a5b9f0d8b3655e0cd10f6] x86/mm: Hold a spinlock
when propagating TLB flushes
git bisect good a966ff5e8eb57208523f0eacb8ab46008688b1b2 # 12:28 66+ 90 x86/mm:
Factor out remote TLB flushing
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 38acfe1c86ca4f1cab9a5b9f0d8b3655e0cd10f6 # 12:37 0- 8 x86/mm:
Hold a spinlock when propagating TLB flushes
# extra tests on HEAD of linux-devel/devel-hourly-2017021101
git bisect bad bc300b7d114e987e2d79698f2d44fbabe7c12e33 # 12:37 0- 57 0day
head guard for 'devel-hourly-2017021101'
# extra tests on tree/branch luto/x86/pcid
git bisect bad 38c2fefbbd2411297ec831f162882561f712a73f # 12:37 0- 26 x86/mm:
Try to preserve old TLB entries using PCID
# extra tests on tree/branch linus/master
git bisect good 1ee18329fae936089c6c599250ae92482ff2b81f # 12:51 66+ 68 Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
# extra tests on tree/branch linux-next/master
git bisect good 632571b1bee00494aef749512d9f3290dfba0ead # 13:13 65+ 69 Add
linux-next specific files for 20170210
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation