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 4e64e5539d152e202ad6eea2b6f65f3ab58d9428
Author: Chris Wilson <[email protected]>
AuthorDate: Thu Feb 2 21:04:38 2017 +0000
Commit: Daniel Vetter <[email protected]>
CommitDate: Fri Feb 3 11:10:32 2017 +0100
drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
The drm_mm range manager claimed to support top-down insertion, but it
was neither searching for the top-most hole that could fit the
allocation request nor fitting the request to the hole correctly.
In order to search the range efficiently, we create a secondary index
for the holes using either their size or their address. This index
allows us to find the smallest hole or the hole at the bottom or top of
the range efficiently, whilst keeping the hole stack to rapidly service
evictions.
v2: Search for holes both high and low. Rename flags to mode.
v3: Discover rb_entry_safe() and use it!
v4: Kerneldoc for enum drm_mm_insert_mode.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Russell King <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Christian Gmeiner <[email protected]>
Cc: Rob Clark <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: Eric Anholt <[email protected]>
Cc: Sinclair Yeh <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]> # vmwgfx
Reviewed-by: Lucas Stach <[email protected]> #etnaviv
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
17aad8a340 Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
4e64e5539d drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
97da3854c5 Linux 4.11-rc3
f921b263d9 Add linux-next specific files for 20170320
+------------------------------------------+------------+------------+-----------+---------------+
| | 17aad8a340 | 4e64e5539d | v4.11-rc3 | next-20170320 |
+------------------------------------------+------------+------------+-----------+---------------+
| boot_successes | 0 | 0 | 0 | 0 |
| boot_failures | 1220 | 312 | 324 | 63 |
| BUG:unable_to_handle_kernel | 1220 | 312 | 324 | 63 |
| Oops:#[##] | 1220 | 312 | 324 | 63 |
| Kernel_panic-not_syncing:Fatal_exception | 1220 | 312 | 324 | 63 |
+------------------------------------------+------------+------------+-----------+---------------+
[ 195.344608] [TTM] Zone kernel: Available graphics memory: 200980 kiB
[ 195.345639] [TTM] Initializing pool allocator
[ 195.346363] [TTM] Initializing DMA pool allocator
[ 195.347754] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[ 195.349292] irq event stamp: 5513
[ 195.349293] BUG: unable to handle kernel NULL pointer dereference at 0000000000000620
[ 195.349309] IP: __lock_acquire+0xc8/0xfe6
[ 195.349311] PGD 0
[ 195.349312]
[ 195.349317] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 195.349324] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.10.0-rc5-01060-g4e64e55 #1
[ 195.349327] task: ffff88000001a000 task.stack: ffff88000015c000
[ 195.349333] RIP: 0010:__lock_acquire+0xc8/0xfe6
[ 195.349337] RSP: 0000:ffff88000015f9f0 EFLAGS: 00010002
[ 195.349341] RAX: 0000000000000046 RBX: 0000000000000000 RCX: 0000000000000000
[ 195.349345] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000620
[ 195.349348] RBP: ffff88000015fab0 R08: 0000000000000001 R09: 0000000000000001
[ 195.349352] R10: ffff88000015fad0 R11: ffff88000001aba0 R12: 0000000000000620
[ 195.349356] R13: 0000000000000000 R14: ffff88000001a000 R15: 0000000000000001
[ 195.349361] FS: 0000000000000000(0000) GS:ffff88001e500000(0000) knlGS:0000000000000000
[ 195.349365] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 195.349368] CR2: 0000000000000620 CR3: 000000000381e000 CR4: 00000000000006e0
[ 195.349373] Call Trace:
[ 195.349381] ? drm_mode_object_unregister+0x27/0x62
[ 195.349387] ? lock_release+0x1c8/0x3d2
[ 195.349392] ? lock_acquire+0x126/0x1be
[ 195.349398] ? irq_trace+0x32/0x37
[ 195.349404] ? __lock_is_held+0x47/0x7a
[ 195.349409] lock_acquire+0x126/0x1be
[ 195.349414] ? lock_acquire+0x126/0x1be
[ 195.349421] ? drm_mode_object_unregister+0x27/0x62
[ 195.349429] mutex_lock_nested+0x74/0x504
[ 195.349435] ? drm_mode_object_unregister+0x27/0x62
[ 195.349447] ? drm_mode_object_unregister+0x27/0x62
[ 195.349453] ? drm_printk+0xb4/0xc3
[ 195.349459] drm_mode_object_unregister+0x27/0x62
[ 195.349465] ? drm_mode_object_unregister+0x27/0x62
[ 195.349473] ? qxl_gem_prime_mmap+0x42/0x42
[ 195.349482] drm_framebuffer_unregister_private+0x23/0x2b
[ 195.349487] bochs_fbdev_fini+0x6d/0x86
[ 195.349494] bochs_unload+0x1c/0x4a
[ 195.349501] ? bochs_pci_remove+0x1c/0x1c
[ 195.349507] drm_dev_unregister+0x52/0xfb
[ 195.349514] ? qxl_gem_prime_mmap+0x42/0x42
[ 195.349520] drm_put_dev+0x53/0x63
[ 195.349527] bochs_pci_remove+0x19/0x1c
[ 195.349534] pci_device_remove+0x3a/0x7c
[ 195.349540] ? pci_dev_put+0x2b/0x2b
[ 195.349548] driver_probe_device+0x1be/0x396
[ 195.349555] __driver_attach+0xa3/0xd9
[ 195.349562] ? driver_probe_device+0x396/0x396
[ 195.349569] bus_for_each_dev+0xa1/0xc7
[ 195.349576] driver_attach+0x22/0x25
[ 195.349582] bus_add_driver+0x115/0x239
[ 195.349589] driver_register+0xc7/0x112
[ 195.349596] __pci_register_driver+0x6a/0x71
[ 195.349602] ? qxl_init+0x94/0x94
[ 195.349608] drm_pci_init+0x52/0x100
[ 195.349614] ? qxl_init+0x94/0x94
[ 195.349619] bochs_init+0x5b/0x88
[ 195.349625] do_one_initcall+0xe0/0x284
[ 195.349631] kernel_init_freeable+0x1ab/0x2e2
[ 195.349638] ? rest_init+0x168/0x168
[ 195.349645] kernel_init+0xf/0x142
[ 195.349651] ? rest_init+0x168/0x168
[ 195.349657] ret_from_fork+0x31/0x40
[ 195.349658] Code: 03 45 85 e4 0f 85 b2 00 00 00 48 c7 c1 c7 1d 3f 83 48 c7 c2 bc 2c 3e 83 be 95 0c 00 00 eb 73 44 8b 0d c7 8b 75 02 45 85 c9 74 12 <49> 81 3c 24 a0 58 07 84 41 b9 00 00 00 00 45 0f 45 cf 83 fb 01
[ 195.349755] RIP: __lock_acquire+0xc8/0xfe6 RSP: ffff88000015f9f0
[ 195.349756] CR2: 0000000000000620
[ 195.349762] ---[ end trace 25bb4610fd631924 ]---
[ 195.349764] Kernel panic - not syncing: Fatal exception
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 4495c08e84729385774601b5146d51d9e5849f81 v4.10 --
git bisect bad 5d8a00eee2ed2e548a5d21b0edf495f3f7bf8bb4 # 22:18 B 32 1 32 32 Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
git bisect good 4a0853bf88c8f56e1c01eda02e6625aed09d55d9 # 23:40 G 300 0 300 302 Merge tag 'usercopy-v4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect good 15192b029509316af4977d2cd389c1eb11183d13 # 00:39 G 301 0 301 303 Merge tag 'gfs2-4.11.addendum' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2
git bisect good b2e3c4319d40c9055c3c587cdb82ba69b50e919d # 02:27 G 300 0 300 302 Merge tag 'armsoc-drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect bad 9e314890292c0dd357eadef6a043704fa0b4c157 # 02:57 B 13 1 13 13 Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
git bisect bad f1ef09fde17f9b77ca1435a5b53a28b203afb81c # 03:32 B 55 1 55 55 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect good d5500a074741b78b7f778b4ab3415d5ecdcda0a7 # 04:48 G 301 0 301 303 Merge tag 'usercopy-v4.11-rc1.fix' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect bad ef96152e6a36e0510387cb174178b7982c1ae879 # 05:11 B 19 1 19 19 Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlied/linux
git bisect good a7e2641aafe261bf70de01ff5fc68dea50468237 # 07:23 G 302 0 302 304 Merge tag 'drm-intel-next-2017-01-23' of git://anongit.freedesktop.org/git/drm-intel into drm-next
git bisect good 45d0ea86d235251305a0e2e63485b08b5caa79e7 # 08:26 G 300 0 300 302 drm/bridge/sii8620: enable interlace modes
git bisect bad 1e2115d8c0c0da62405400316f5499d909e479bc # 09:51 B 117 1 117 121 drm/nouveau/pmu: instanciate the falcon in PMU device
git bisect bad f864b00e03a0308beae7c88e2e145a429d5872dd # 10:43 B 77 1 77 79 Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
git bisect good dceac340155b66b6c97cb802b03d4778dd82e9be # 11:27 G 310 0 310 312 drm/msm/dsi: Return more timings from PHY to host
git bisect bad 538f1dcdc5e20adb2488fa0932d56906de166405 # 11:58 B 111 2 111 113 Merge branch 'drm-rockchip-next-2017-02-05' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
git bisect good ef1844b7ed847430955a95d20242f0d1b9f5fa64 # 12:36 G 304 0 304 306 drm/rockchip: cdn-dp: don't configure hardware in mode_set
git bisect good 7e6328fd1f84f366b4cc17dc757025f485139f1a # 13:16 G 310 0 310 314 drm: Fix build when FBDEV_EMULATION is disabled
git bisect bad 4e64e5539d152e202ad6eea2b6f65f3ab58d9428 # 13:50 B 37 1 37 37 drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
git bisect good 17aad8a340e6f98b62c2482d02bc3814eebde9a5 # 14:28 G 310 0 310 310 Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
# first bad commit: [4e64e5539d152e202ad6eea2b6f65f3ab58d9428] drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
git bisect good 17aad8a340e6f98b62c2482d02bc3814eebde9a5 # 14:55 G 905 0 905 1215 Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 4e64e5539d152e202ad6eea2b6f65f3ab58d9428 # 15:38 B 113 1 113 113 drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
# extra tests on HEAD of linux-next/master
git bisect bad f921b263d9602fb7873710c2df70671f2ffcf658 # 15:44 B 0 2 76 61 Add linux-next specific files for 20170320
# extra tests on tree/branch linus/master
git bisect bad 97da3854c526d3a6ee05c849c96e48d21527606c # 16:06 B 123 1 123 137 Linux 4.11-rc3
# extra tests with first bad commit reverted
# extra tests on tree/branch linux-next/master
git bisect bad f921b263d9602fb7873710c2df70671f2ffcf658 # 16:25 B 0 2 76 61 Add linux-next specific files for 20170320
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
Hi Chris,
>+------------------------------------------+------------+------------+-----------+---------------+
>| | 17aad8a340 | 4e64e5539d | v4.11-rc3 | next-20170320 |
>+------------------------------------------+------------+------------+-----------+---------------+
>| boot_successes | 0 | 0 | 0 | 0 |
>| boot_failures | 1220 | 312 | 324 | 63 |
>| BUG:unable_to_handle_kernel | 1220 | 312 | 324 | 63 |
>| Oops:#[##] | 1220 | 312 | 324 | 63 |
>| Kernel_panic-not_syncing:Fatal_exception | 1220 | 312 | 324 | 63 |
>+------------------------------------------+------------+------------+-----------+---------------+
>
>[ 195.344608] [TTM] Zone kernel: Available graphics memory: 200980 kiB
>[ 195.345639] [TTM] Initializing pool allocator
>[ 195.346363] [TTM] Initializing DMA pool allocator
>[ 195.347754] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
>[ 195.349292] irq event stamp: 5513
>[ 195.349293] BUG: unable to handle kernel NULL pointer dereference at 0000000000000620
>[ 195.349309] IP: __lock_acquire+0xc8/0xfe6
Sorry that looks like an old bug. While the below soft lockup
call trace looks more related to the code change.
17aad8a340 Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
4e64e5539d drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
ad0376eb14 Merge tag 'edac_for_4.11_2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
576190b30a Add linux-next specific files for 20170328
+--------------------------------------------------------------------+------------+------------+------------+---------------+
| | 17aad8a340 | 4e64e5539d | ad0376eb14 | next-20170328 |
+--------------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 0 | 0 | 5 | 0 |
| boot_failures | 186 | 50 | 16 | 2 |
| BUG:KASAN:global-out-of-bounds_in__of_match_node_at_addr | 186 | 7 | | |
| BUG:KASAN:global-out-of-bounds_in__of_device_is_compatible_at_addr | 186 | 7 | | |
| BUG:KASAN:global-out-of-bounds_in__of | 1 | | | |
| BUG:KASAN:global-out-of-bounds_in__of_match_node | 1 | | | |
| BUG:soft_lockup-CPU##stuck_for#s | 0 | 43 | 14 | 2 |
| Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 43 | 14 | 2 |
| invoked_oom-killer:gfp_mask=0x | 0 | 0 | 2 | |
| Mem-Info | 0 | 0 | 2 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 0 | 0 | 2 | |
+--------------------------------------------------------------------+------------+------------+------------+---------------+
[ 773.573294] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 845.992015] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 919.226625] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 990.378836] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 1055.385770] Writes: Total: 2 Max/Min: 0/0 Fail: 0
[ 1138.272031] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 23s! [swapper:1]
[ 1138.274858] CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc5-01060-g4e64e55 #1
[ 1138.277813] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1138.281136] task: ffff88000cdbcd80 task.stack: ffff88000cdc0000
[ 1138.283043] RIP: 0010:__asan_load8+0x55/0xd0
[ 1138.284564] RSP: 0018:ffff88000cdc7798 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
[ 1138.287359] RAX: ffffc90000293238 RBX: ffffc90000293230 RCX: ffffffff9e66e31d
[ 1138.289432] RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffc90000293238
[ 1138.291521] RBP: ffff88000cdc7798 R08: fffffbfff4aebbcc R09: fffffbfff4aebbcc
[ 1138.293593] R10: fffffbfff4aebbcb R11: ffffffffa575de5f R12: ffffc90000293240
[ 1138.295669] R13: ffffc90000293230 R14: ffffc90000293230 R15: ffffc90000293020
[ 1138.297754] FS: 0000000000000000(0000) GS:ffffffffa28f6000(0000) knlGS:0000000000000000
[ 1138.300618] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1138.302425] CR2: 00007f6ce610d8ec CR3: 0000000008600000 CR4: 00000000000006b0
[ 1138.304481] Call Trace:
[ 1138.305662] rb_erase+0x35d/0x1230
[ 1138.307060] rm_hole+0xb4/0xe0
[ 1138.308381] drm_mm_remove_node+0xc3/0x1010
[ 1138.309905] evict_nodes+0x3ab/0x510
[ 1138.311306] evict_color+0x12f/0x690
[ 1138.312843] ? evict_something+0x700/0x700
[ 1138.314695] ? pvclock_clocksource_read+0x333/0x360
[ 1138.316381] ? __asan_loadN+0x1f/0x30
[ 1138.317787] ? prandom_u32_state+0x9b/0xd0
[ 1138.319303] ? drm_random_reorder+0x2a/0xc0
[ 1138.320819] igt_color_evict+0x666/0x8f0
[ 1138.322299] ? igt_evict_range+0x7f0/0x7f0
[ 1138.323737] ? igt_color+0xcf3/0xd40
[ 1138.325121] ? igt_align32+0x30/0x30
[ 1138.343567] ? drm_dp_aux_dev_exit+0x50/0x50
[ 1138.345091] ? slow_is_prime_number+0xf0/0xf0
[ 1138.346673] ? igt_insert_range+0x35d/0x370
[ 1138.348201] test_drm_mm_init+0x18c/0x312
[ 1138.349651] ? do_one_initcall+0xee/0x3fe
[ 1138.351138] ? drm_kms_helper_init+0x54/0x54
[ 1138.352677] do_one_initcall+0x1b3/0x3fe
[ 1138.354133] ? start_kernel+0xa4a/0xa4a
[ 1138.355596] ? parse_args+0xcc9/0xce0
[ 1138.356999] kernel_init_freeable+0x290/0x45e
[ 1138.358545] ? rest_init+0x150/0x150
[ 1138.359934] kernel_init+0x19/0x330
[ 1138.361322] ? rest_init+0x150/0x150
[ 1138.362717] ret_from_fork+0x31/0x40
[ 1138.364077] Code: 47 72 09 01 e8 5d 06 00 00 48 83 05 6d 47 72 09 01 e9 8b 00 00 00 48 89 f8 48 ba 00 00 00 00 00 fc ff df 48 83 05 4b 47 72 09 01 <48> c1 e8 03 48 01 d0 66 83 38 00 74 69 48 8d 77 07 48 83 05 42
[ 1138.370236] Kernel panic - not syncing: softlockup: hung tasks
[ 1138.372221] CPU: 0 PID: 1 Comm: swapper Tainted: G L 4.10.0-rc5-01060-g4e64e55 #1
[ 1138.375328] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 1138.378596] Call Trace:
[ 1138.379779] <IRQ>
[ 1138.380868] dump_stack+0x2c/0x3f
[ 1138.382243] panic+0x25a/0x655
[ 1138.383535] ? dup_mmap+0xad9/0xad9
[ 1138.384909] ? watchdog_timer_fn+0x4ce/0x5d0
[ 1138.386440] watchdog_timer_fn+0x502/0x5d0
[ 1138.387889] ? watchdog_disable_all_cpus+0x90/0x90
[ 1138.389528] hrtimer_run_queues+0x585/0xbb0
[ 1138.391023] ? hrtimer_cancel+0xa0/0xa0
[ 1138.393706] ? account_system_time+0x27b/0x470
[ 1138.395274] run_local_timers+0x16/0x80
[ 1138.396712] update_process_times+0x37/0xd0
[ 1138.398223] tick_periodic+0x191/0x1b0
[ 1138.399866] ? tick_handle_periodic+0x31/0x160
[ 1138.401427] tick_handle_periodic+0x31/0x160
[ 1138.402966] ? tick_is_oneshot_available+0x150/0x150
[ 1138.404647] local_apic_timer_interrupt+0x91/0xa0
[ 1138.406272] smp_apic_timer_interrupt+0x63/0x90
[ 1138.407829] apic_timer_interrupt+0x91/0xa0
[ 1138.409348] RIP: 0010:__asan_load8+0x55/0xd0
[ 1138.410857] RSP: 0018:ffff88000cdc7798 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
[ 1138.413675] RAX: ffffc90000293238 RBX: ffffc90000293230 RCX: ffffffff9e66e31d
[ 1138.415756] RDX: dffffc0000000000 RSI: 0000000000000008 RDI: ffffc90000293238
[ 1138.417817] RBP: ffff88000cdc7798 R08: fffffbfff4aebbcc R09: fffffbfff4aebbcc
[ 1138.419883] R10: fffffbfff4aebbcb R11: ffffffffa575de5f R12: ffffc90000293240
[ 1138.421943] R13: ffffc90000293230 R14: ffffc90000293230 R15: ffffc90000293020
[ 1138.423989] </IRQ>
[ 1138.425102] ? rb_erase+0x35d/0x1230
[ 1138.426532] ? __asan_loadN+0x1f/0x30
[ 1138.427977] rb_erase+0x35d/0x1230
[ 1138.429357] rm_hole+0xb4/0xe0
[ 1138.430641] drm_mm_remove_node+0xc3/0x1010
[ 1138.432159] evict_nodes+0x3ab/0x510
[ 1138.433519] evict_color+0x12f/0x690
[ 1138.435050] ? evict_something+0x700/0x700
[ 1138.436922] ? pvclock_clocksource_read+0x333/0x360
[ 1138.438571] ? __asan_loadN+0x1f/0x30
[ 1138.439986] ? prandom_u32_state+0x9b/0xd0
[ 1138.441477] ? drm_random_reorder+0x2a/0xc0
[ 1138.442984] igt_color_evict+0x666/0x8f0
[ 1138.444446] ? igt_evict_range+0x7f0/0x7f0
[ 1138.445931] ? igt_color+0xcf3/0xd40
[ 1138.447343] ? igt_align32+0x30/0x30
[ 1138.448755] ? drm_dp_aux_dev_exit+0x50/0x50
[ 1138.450283] ? slow_is_prime_number+0xf0/0xf0
[ 1138.451817] ? igt_insert_range+0x35d/0x370
[ 1138.453343] test_drm_mm_init+0x18c/0x312
[ 1138.454807] ? do_one_initcall+0xee/0x3fe
[ 1138.456306] ? drm_kms_helper_init+0x54/0x54
[ 1138.457841] do_one_initcall+0x1b3/0x3fe
[ 1138.459317] ? start_kernel+0xa4a/0xa4a
[ 1138.460713] ? parse_args+0xcc9/0xce0
[ 1138.462137] kernel_init_freeable+0x290/0x45e
[ 1138.463684] ? rest_init+0x150/0x150
[ 1138.465071] kernel_init+0x19/0x330
[ 1138.466462] ? rest_init+0x150/0x150
[ 1138.467845] ret_from_fork+0x31/0x40
[ 1138.469424] Kernel Offset: 0x1c000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 97da3854c526d3a6ee05c849c96e48d21527606c v4.10 --
git bisect bad e72e58faa709d554f95431dbafd3374db5ed3fbb # 10:38 B 1 2 1 4 Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good e30aee9e10bb5168579e047f05c3d13d09e23356 # 11:10 G 23 0 23 23 Merge tag 'char-misc-4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
git bisect good c61c15e08abb4365f100e411604b57a03ee5ae90 # 11:34 G 24 0 24 24 Merge tag 'armsoc-dt64' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect bad 94eae8034002401d71ae950106659e16add36e77 # 12:18 B 1 1 1 1 Merge tag 'platform-drivers-x86-v4.11-1' of git://git.infradead.org/linux-platform-drivers-x86
git bisect bad 9e314890292c0dd357eadef6a043704fa0b4c157 # 12:59 B 0 1 11 0 Merge tag 'openrisc-for-linus' of git://github.com/openrisc/linux
git bisect bad f1ef09fde17f9b77ca1435a5b53a28b203afb81c # 13:46 B 3 3 3 3 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace
git bisect good d5500a074741b78b7f778b4ab3415d5ecdcda0a7 # 14:15 G 23 0 23 23 Merge tag 'usercopy-v4.11-rc1.fix' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect bad ef96152e6a36e0510387cb174178b7982c1ae879 # 15:03 B 10 4 10 10 Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlied/linux
git bisect good a7e2641aafe261bf70de01ff5fc68dea50468237 # 15:42 G 25 0 25 25 Merge tag 'drm-intel-next-2017-01-23' of git://anongit.freedesktop.org/git/drm-intel into drm-next
git bisect good 45d0ea86d235251305a0e2e63485b08b5caa79e7 # 16:15 G 25 0 25 27 drm/bridge/sii8620: enable interlace modes
git bisect bad 1e2115d8c0c0da62405400316f5499d909e479bc # 16:59 B 12 2 12 14 drm/nouveau/pmu: instanciate the falcon in PMU device
git bisect bad f864b00e03a0308beae7c88e2e145a429d5872dd # 17:47 B 4 5 4 6 Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
git bisect good dceac340155b66b6c97cb802b03d4778dd82e9be # 18:57 G 42 0 42 44 drm/msm/dsi: Return more timings from PHY to host
git bisect bad 538f1dcdc5e20adb2488fa0932d56906de166405 # 19:40 B 1 1 1 3 Merge branch 'drm-rockchip-next-2017-02-05' of https://github.com/markyzq/kernel-drm-rockchip into drm-next
git bisect good ef1844b7ed847430955a95d20242f0d1b9f5fa64 # 20:45 G 46 0 46 50 drm/rockchip: cdn-dp: don't configure hardware in mode_set
git bisect good 7e6328fd1f84f366b4cc17dc757025f485139f1a # 21:18 G 42 0 42 46 drm: Fix build when FBDEV_EMULATION is disabled
git bisect bad 4e64e5539d152e202ad6eea2b6f65f3ab58d9428 # 22:01 B 2 2 2 2 drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
git bisect good 17aad8a340e6f98b62c2482d02bc3814eebde9a5 # 23:19 G 44 0 44 46 Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
# first bad commit: [4e64e5539d152e202ad6eea2b6f65f3ab58d9428] drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
git bisect good 17aad8a340e6f98b62c2482d02bc3814eebde9a5 # 23:57 G 126 0 126 175 Merge remote-tracking branch 'airlied/drm-next' into drm-misc-next
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 4e64e5539d152e202ad6eea2b6f65f3ab58d9428 # 00:39 B 5 1 5 5 drm: Improve drm_mm search (and fix topdown allocation) with rbtrees
# extra tests on HEAD of linux-devel/devel-catchup-201703280706
git bisect bad 59da01775305367d9c1d98c63b2db33b3487711d # 00:39 B 0 4 34 17 0day head guard for 'devel-catchup-201703280706'
# extra tests on tree/branch linus/master
git bisect bad ad0376eb1483bd9880770b346f6592aece669e4c # 01:19 B 0 1 11 0 Merge tag 'edac_for_4.11_2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
# extra tests with first bad commit reverted
# extra tests on tree/branch linux-next/master
git bisect bad 576190b30a35af73d1e49cc3daedd8dcf1211406 # 02:11 B 0 1 11 0 Add linux-next specific files for 20170328
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
Fengguang Wu <[email protected]> writes:
> Hi Chris,
>
>>+------------------------------------------+------------+------------+-----------+---------------+
>>| | 17aad8a340 | 4e64e5539d | v4.11-rc3 | next-20170320 |
>>+------------------------------------------+------------+------------+-----------+---------------+
>>| boot_successes | 0 | 0 | 0 | 0 |
>>| boot_failures | 1220 | 312 | 324 | 63 |
>>| BUG:unable_to_handle_kernel | 1220 | 312 | 324 | 63 |
>>| Oops:#[##] | 1220 | 312 | 324 | 63 |
>>| Kernel_panic-not_syncing:Fatal_exception | 1220 | 312 | 324 | 63 |
>>+------------------------------------------+------------+------------+-----------+---------------+
>>
>>[ 195.344608] [TTM] Zone kernel: Available graphics memory: 200980 kiB
>>[ 195.345639] [TTM] Initializing pool allocator
>>[ 195.346363] [TTM] Initializing DMA pool allocator
>>[ 195.347754] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
>>[ 195.349292] irq event stamp: 5513
>>[ 195.349293] BUG: unable to handle kernel NULL pointer dereference at 0000000000000620
>>[ 195.349309] IP: __lock_acquire+0xc8/0xfe6
>
>
> Sorry that looks like an old bug. While the below soft lockup
> call trace looks more related to the code change.
>
Hi,
For the record, I suspect the Null pointer dereference is already fixed in the tip
of drm-misc-next. See 4fa13dbe8c86 ("drm: bochs: Don't remove uninitialized fbdev framebuffer").
--
Gabriel Krisman Bertazi