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 9af03886e0a270fe8fd044c9f1094d7586411293
Author: Matthew Wilcox (Oracle) <willy(a)infradead.org>
AuthorDate: Mon Sep 14 14:57:17 2020 +1000
Commit: Stephen Rothwell <sfr(a)canb.auug.org.au>
CommitDate: Mon Sep 14 14:57:17 2020 +1000
mm: convert find_get_entry to return the head page
There are only four callers remaining of find_get_entry().
get_shadow_from_swap_cache() only wants to see shadow entries and doesn't
care about which page is returned. Push the find_subpage() call into
find_lock_entry(), find_get_incore_page() and pagecache_get_page().
Link:
https://lkml.kernel.org/r/20200910183318.20139-7-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy(a)infradead.org>
Cc: Alexey Dobriyan <adobriyan(a)gmail.com>
Cc: Chris Wilson <chris(a)chris-wilson.co.uk>
Cc: Huang Ying <ying.huang(a)intel.com>
Cc: Hugh Dickins <hughd(a)google.com>
Cc: Jani Nikula <jani.nikula(a)linux.intel.com>
Cc: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: Matthew Auld <matthew.auld(a)intel.com>
Cc: William Kucharski <william.kucharski(a)oracle.com>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr(a)canb.auug.org.au>
44ff4aa43e i915: use find_lock_page instead of find_lock_entry
9af03886e0 mm: convert find_get_entry to return the head page
+---------------------------------------------+------------+------------+
| | 44ff4aa43e | 9af03886e0 |
+---------------------------------------------+------------+------------+
| boot_successes | 36 | 5 |
| boot_failures | 0 | 10 |
| BUG:kernel_NULL_pointer_dereference,address | 0 | 10 |
| Oops:#[##] | 0 | 10 |
| EIP:find_get_incore_page | 0 | 10 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
+---------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp(a)intel.com>
[child2:497] semget (387) returned ENOSYS, marking as inactive.
[child2:494] clock_settime (398) returned ENOSYS, marking as inactive.
[child2:494] semget (387) returned ENOSYS, marking as inactive.
[child2:494] delete_module (129) returned ENOSYS, marking as inactive.
[child2:494] clock_nanosleep (401) returned ENOSYS, marking as inactive.
[ 20.211091] BUG: kernel NULL pointer dereference, address: 00000004
[ 20.211813] #PF: supervisor read access in kernel mode
[ 20.212428] #PF: error_code(0x0000) - not-present page
[ 20.213027] *pde = 00000000
[ 20.213408] Oops: 0000 [#1] SMP
[ 20.213812] CPU: 1 PID: 494 Comm: trinity-c2 Not tainted
5.9.0-rc5-00094-g9af03886e0a270 #1
[ 20.214764] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1
04/01/2014
[ 20.215715] EIP: find_get_incore_page+0x12/0xc0
[ 20.216253] Code: ba 14 bf bf c1 89 d8 e8 5c f7 fd ff 0f 0b 8d b4 26 00 00 00 00 8d 76
00 55 89 e5 56 89 c6 53 e8 c4 c5 fb ff 89 c3 a8 01 75 1e <8b> 40 04 a8 01 0f 85 8b
00 00 00 8d 65 f8 89 d8 5b 5e 5d c3 8d b4
[ 20.218306] EAX: 00000000 EBX: 00000000 ECX: f3770694 EDX: f3770040
[ 20.219012] ESI: f3787768 EDI: f42df238 EBP: eb5d7e8c ESP: eb5d7e84
[ 20.219715] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010246
[ 20.220474] CR0: 80050033 CR2: 00000004 CR3: 2becd000 CR4: 00000690
[ 20.221186] Call Trace:
[ 20.221525] mincore_page+0x9/0x80
[ 20.221952] __mincore_unmapped_range+0x50/0xa0
[ 20.222485] mincore_pte_range+0xad/0x120
[ 20.222971] ? mincore_unmapped_range+0x20/0x20
[ 20.223509] walk_pgd_range+0x1e7/0x3e0
[ 20.223977] __walk_page_range+0x3e/0x80
[ 20.224462] walk_page_range+0x9d/0x140
[ 20.224937] __ia32_sys_mincore+0xec/0x2e0
[ 20.225435] do_int80_syscall_32+0x2c/0x40
[ 20.225931] entry_INT80_32+0xf0/0xf0
[ 20.226382] EIP: 0x80a3392
[ 20.226743] Code: 89 c8 c3 90 8d 74 26 00 85 c0 c7 01 01 00 00 00 75 d8 a1 c8 a9 ac 08
eb d1 66 90 66 90 66 90 66 90 66 90 66 90 66 90 90 cd 80 <c3> 8d b6 00 00 00 00 8d
bc 27 00 00 00 00 8b 10 a3 f0 a9 ac 08 85
[ 20.228750] EAX: ffffffda EBX: b734b000 ECX: 0002c000 EDX: b5bd5008
[ 20.229451] ESI: 59048f58 EDI: 3de75b7c EBP: 00200000 ESP: bf892da8
[ 20.230155] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b EFLAGS: 00000292
[ 20.230909] Modules linked in: mpls_router qrtr ns nfc caif_socket caif phonet can_bcm
af_packet xfrm_user parport_pc parport input_leds i2c_piix4 i2c_core mac_hid nf_log_ipv6
[ 20.232623] CR2: 0000000000000004
[ 20.233043] ---[ end trace 103b8b1e2fc76655 ]---
[ 20.233593] EIP: find_get_incore_page+0x12/0xc0
# HH:MM RESULT GOOD BAD
GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start f965d3ec86fa89285db0fbb983da76ba9c398efa v5.8 --
git bisect good 326e311b849426a95cac0149406efb2bbd13fa65 # 12:50 G 11 0 0 0
Merge tag 'pm-5.9-rc3' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect good 7fea526ff18ce71afcbaf7378e177483f0c05400 # 14:43 G 10 0 0 0
Merge remote-tracking branch 'reset/reset/next' into master
git bisect good 6c3ba3a61e4c7f840feec094dd82acbd5d94c6f2 # 17:52 G 10 0 0 1
Merge remote-tracking branch 'sound/for-next' into master
git bisect good 12fb7d30613dcec940e74aaecb25de2a9154c01f # 23:31 G 11 0 3 3
Merge remote-tracking branch 'char-misc/char-misc-next' into master
git bisect good bd5828528533d2ec4b9eeec6994e96ad5cb5327c # 00:10 G 10 0 2 2
Merge remote-tracking branch 'nvdimm/libnvdimm-for-next' into master
git bisect good b8e2f1f8d5b8c1d27704317e8fa0ffa208cdc99a # 00:38 G 10 0 4 4
Merge remote-tracking branch 'pidfd/for-next' into master
git bisect good c3a37469b7e40016593f10ee96168e6050657ea6 # 01:08 G 11 0 0 0
Merge remote-tracking branch 'notifications/notifications-pipe-core' into master
git bisect good 7cde19ed6abf8cfe4789f8f4c0af78533ce98521 # 01:36 G 10 0 0 0
media: disable the Virtual DVB Driver (vidtv) for now
git bisect bad e1ab7882d9b9253e7a8de4a2ed5652f1625bd48c # 02:00 B 0 1 11 0
Merge branch 'akpm-current/current' into master
git bisect bad fdf0dfd33cefec253016832b99c13acd616126b5 # 02:16 B 1 3 1 3
mm/hugetlb: remove VM_BUG_ON(!nrg) in get_file_region_entry_from_cache()
git bisect good 02cfca70291682ffc82e1c853e4c51776a5c6a2c # 03:09 G 11 0 0 0
mm/debug_vm_pgtable/savedwrite: enable savedwrite test with CONFIG_NUMA_BALANCING
git bisect bad 0c18c5bb93c093ad8764baac87acd47e3b7c2168 # 03:22 B 0 1 11 0
mm/memory.c: fix typo in __do_fault() comment
git bisect bad c6abaefb49c93d154444eb6fa1c4016a95c51453 # 03:27 B 0 1 10 0
mm/gup: don't permit users to call get_user_pages with FOLL_LONGTERM
git bisect good 3fcbe4eb49a0406e6202e8c8c3560f30965a8e79 # 04:30 G 11 0 1 1
mm: factor find_get_incore_page out of mincore_page
git bisect bad 9af03886e0a270fe8fd044c9f1094d7586411293 # 05:14 B 0 1 10 0
mm: convert find_get_entry to return the head page
git bisect good 2daf9240ef5500a0ff69c0fc37a1239d0750e78d # 06:02 G 11 0 0 0
mm: optimise madvise WILLNEED
git bisect good 44ff4aa43ee7c662be3faed9ba03e9d9cf2b7633 # 06:58 G 11 0 0 0
i915: use find_lock_page instead of find_lock_entry
# first bad commit: [9af03886e0a270fe8fd044c9f1094d7586411293] mm: convert find_get_entry
to return the head page
git bisect good 44ff4aa43ee7c662be3faed9ba03e9d9cf2b7633 # 08:34 G 33 0 0 0
i915: use find_lock_page instead of find_lock_entry
# extra tests with debug options
git bisect bad 9af03886e0a270fe8fd044c9f1094d7586411293 # 08:44 B 0 1 10 0
mm: convert find_get_entry to return the head page
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/lkp@lists.01.org