[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170824080630.b7qcokca36santi2@wfg-t540p.sh.intel.com>
Date: Thu, 24 Aug 2017 16:06:30 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Daniel Vetter <daniel.vetter@...ll.ch>
Cc: Harry Wentland <harry.wentland@....com>,
Sean Paul <seanpaul@...omium.org>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
LKP <lkp@...org>
Subject: 2ab8c5f8c0 ("drm: Clean up connectors by unreferencing them"):
WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_mode_config.c:424
drm_mode_config_cleanup
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 2ab8c5f8c0358010a19e82656fa4826a6a51d1e0
Author: Daniel Vetter <daniel.vetter@...ll.ch>
AuthorDate: Wed Dec 14 00:08:08 2016 +0100
Commit: Daniel Vetter <daniel.vetter@...ll.ch>
CommitDate: Sun Dec 18 14:33:51 2016 +0100
drm: Clean up connectors by unreferencing them
Only static connectors should be left at this point, and we should be
able to clean them out by simply dropping that last reference still
around from drm_connector_init.
If that leaves anything behind then we have a driver bug.
Doing the final cleanup this way also allows us to use
drm_connector_iter, removing the very last place where we walk
connector_list explicitly in drm core&helpers.
Reviewed-by: Harry Wentland <harry.wentland@....com>
Reviewed-by: Sean Paul <seanpaul@...omium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@...el.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161213230814.19598-8-daniel.vetter@ffwll.ch
c36a3254f7 drm: Convert all helpers to drm_connector_list_iter
2ab8c5f8c0 drm: Clean up connectors by unreferencing them
fcd0735000 Merge tag 'md/4.13-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
91dfed74ea Add linux-next specific files for 20170811
+-----------------------------------------------------------------------+------------+------------+------------+---------------+
| | c36a3254f7 | 2ab8c5f8c0 | fcd0735000 | next-20170811 |
+-----------------------------------------------------------------------+------------+------------+------------+---------------+
| boot_successes | 31 | 0 | 0 | 0 |
| boot_failures | 0 | 11 | 16 | 13 |
| WARNING:at_drivers/gpu/drm/drm_mode_config.c:#drm_mode_config_cleanup | 0 | 11 | 16 | 13 |
| calltrace:bochs_init | 0 | 11 | | |
+-----------------------------------------------------------------------+------------+------------+------------+---------------+
[ 3.338803] Console: switching to colour frame buffer device 128x48
[ 3.348302] bochs-drm 0000:00:02.0: fb0: bochsdrmfb frame buffer device
[ 3.379266] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 0
[ 3.387207] Console: switching to colour VGA+ 80x25
[ 3.429282] ------------[ cut here ]------------
[ 3.430543] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_mode_config.c:424 drm_mode_config_cleanup+0x1c9/0x6e0
[ 3.433315] Modules linked in:
[ 3.434318] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc8-01683-g2ab8c5f #1
[ 3.436254] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[ 3.438706] ffff880019e27958 ffffffff81a408bd ffffffff84e746e8 0000000000000000
[ 3.441079] 0000000000000000 ffffffff842d5d00 ffffffff82023879 0000000000000009
[ 3.443420] ffff880019e279a0 ffffffff81127d69 ffff880019e18000 ffff8800000001a8
[ 3.445794] Call Trace:
[ 3.446572] [<ffffffff81a408bd>] dump_stack+0xf3/0x156
[ 3.447885] [<ffffffff82023879>] ? drm_mode_config_cleanup+0x1c9/0x6e0
[ 3.449475] [<ffffffff81127d69>] __warn+0x159/0x180
[ 3.450704] [<ffffffff81127f08>] warn_slowpath_null+0x18/0x20
[ 3.452130] [<ffffffff82023879>] drm_mode_config_cleanup+0x1c9/0x6e0
[ 3.453652] [<ffffffff820236b0>] ? drm_mode_config_init+0xb30/0xb30
[ 3.455173] [<ffffffff83fc3919>] ? mutex_unlock+0x9/0x10
[ 3.457546] [<ffffffff820102f1>] ? drm_framebuffer_cleanup+0x81/0x90
[ 3.459047] [<ffffffff8280a5e8>] bochs_kms_fini+0x68/0xa0
[ 3.460418] [<ffffffff82807173>] bochs_unload+0x43/0x90
[ 3.461737] [<ffffffff81fd6cb7>] drm_dev_unregister+0xc7/0x1f0
[ 3.463189] [<ffffffff81fd7854>] drm_put_dev+0x44/0x50
[ 3.464467] [<ffffffff82807127>] bochs_pci_remove+0x37/0x40
[ 3.465869] [<ffffffff81b604b9>] pci_device_remove+0xd9/0x1c0
[ 3.467308] [<ffffffff8283855a>] driver_probe_device+0x57a/0xb00
[ 3.468752] [<ffffffff82838ae0>] ? driver_probe_device+0xb00/0xb00
[ 3.470267] [<ffffffff82838c2d>] __driver_attach+0x14d/0x1a0
[ 3.471665] [<ffffffff82832e28>] bus_for_each_dev+0x118/0x1a0
[ 3.473089] [<ffffffff82832d10>] ? subsys_dev_iter_exit+0x10/0x10
[ 3.474538] [<ffffffff82837465>] driver_attach+0x45/0x50
[ 3.475881] [<ffffffff8283668b>] bus_add_driver+0x3fb/0x650
[ 3.477282] [<ffffffff82839f26>] driver_register+0x256/0x310
[ 3.478690] [<ffffffff81204e6d>] ? __raw_spin_lock_init+0x2d/0xf0
[ 3.480184] [<ffffffff81b5ca42>] __pci_register_driver+0x192/0x1a0
[ 3.481689] [<ffffffff85838f3c>] ? qxl_init+0x119/0x119
[ 3.483642] [<ffffffff81fdc68c>] drm_pci_init+0x7c/0x3b0
[ 3.484947] [<ffffffff81f50ed0>] ? random_poll+0xb0/0xb0
[ 3.486296] [<ffffffff81b5ca42>] ? __pci_register_driver+0x192/0x1a0
[ 3.487822] [<ffffffff85838f3c>] ? qxl_init+0x119/0x119
[ 3.489154] [<ffffffff85838f5b>] bochs_init+0x1f/0x43
[ 3.490439] [<ffffffff81002303>] do_one_initcall+0x123/0x270
[ 3.491859] [<ffffffff85753199>] ? repair_env_string+0x3a/0x14b
[ 3.493275] [<ffffffff810021e0>] ? initcall_blacklisted+0x170/0x170
[ 3.494804] [<ffffffff81172395>] ? parse_args+0x7c5/0xb40
[ 3.496157] [<ffffffff85754b48>] kernel_init_freeable+0x3f1/0x558
[ 3.497636] [<ffffffff83fb5910>] ? rest_init+0xf0/0xf0
[ 3.499052] [<ffffffff83fb591e>] kernel_init+0xe/0x110
[ 3.501885] [<ffffffff83fb5910>] ? rest_init+0xf0/0xf0
[ 3.503205] [<ffffffff83fc9615>] ret_from_fork+0x25/0x30
[ 3.504597] ---[ end trace 9c2bd249a3aa5f4c ]---
[ 3.506101] [TTM] Finalizing pool allocator
# HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start v4.11 v4.10 --
git bisect bad ce70df089143c49385b4f32f39d41fb50fbf6a7c # 03:25 B 0 1 14 0 mm, gup: fix typo in gup_p4d_range()
git bisect bad 94eae8034002401d71ae950106659e16add36e77 # 03:50 B 0 1 14 0 Merge tag 'platform-drivers-x86-v4.11-1' of git://git.infradead.org/linux-platform-drivers-x86
git bisect good 7bb033829ef3ecfc491c0ed0197966e8f197fbdc # 04:17 G 11 0 11 11 Merge tag 'rodata-v4.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect good a3919caaa27a5fde1cbda46e394bb17953e104a1 # 04:39 G 11 0 11 11 Merge tag 'rproc-v4.11' of git://github.com/andersson/remoteproc
git bisect good d5500a074741b78b7f778b4ab3415d5ecdcda0a7 # 05:02 G 11 0 11 11 Merge tag 'usercopy-v4.11-rc1.fix' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
git bisect bad 915f3e3f76c05b2da93c4cc278eebc2d9219d9f4 # 05:24 B 0 11 24 0 mac80211_hwsim: Replace bogus hrtimer clockid
git bisect bad 1802979ab1ee8ec5a72987ad518f5a91bf41cd89 # 05:55 B 0 5 18 0 Merge branch 'for-linus' of git://git.kernel.dk/linux-block
git bisect bad ef96152e6a36e0510387cb174178b7982c1ae879 # 06:24 B 0 2 15 0 Merge tag 'drm-for-v4.11-less-shouty' of git://people.freedesktop.org/~airlied/linux
git bisect bad a7e2641aafe261bf70de01ff5fc68dea50468237 # 06:53 B 0 11 24 0 Merge tag 'drm-intel-next-2017-01-23' of git://anongit.freedesktop.org/git/drm-intel into drm-next
git bisect good a402eae64d0ad12b1c4a411f250d6c161e67f623 # 07:11 G 11 0 0 0 Merge tag 'v4.10-rc2' into drm-intel-next-queued
git bisect bad a009e975da5c7d42a7f5eaadc54946eb5f76c9af # 07:35 B 0 1 14 0 dma-fence: Introduce drm_fence_set_error() helper
git bisect bad f2b0feeb2e1f33fa6f050935e84d99c714bdb73d # 07:59 B 0 10 23 0 drm/atomic: Remove drm_atomic_helper_framebuffer_changed.
git bisect good bcb0b461454c9cb3b5804cf75bacaadb52348864 # 08:15 G 11 0 0 0 drm: Replace drm_format_num_planes() with fb->format->num_planes
git bisect good 2407d1dc04789bfb2f39d248644981d2233feb0e # 08:30 G 11 0 0 0 drm: Fix compilation warning caused by static inline forward declaration
git bisect bad e73ab00e9a0f1731f34d0620a9c55f5c30c4ad4e # 08:41 B 0 4 17 0 drm: prevent double-(un)registration for connectors
git bisect good 5bc9cb4dfbe8fcae02f8421e3102c78681f53b8c # 08:59 G 11 0 0 0 drm: Move atomic debugfs functions into drm_crtc_internal.h
git bisect good 613051dac40da1751ab269572766d3348d45a197 # 09:21 G 11 0 0 0 drm: locking&new iterators for connector_list
git bisect bad 2ab8c5f8c0358010a19e82656fa4826a6a51d1e0 # 09:34 B 0 11 24 0 drm: Clean up connectors by unreferencing them
git bisect good c36a3254f7857f1ad9badbe3578ccc92be541a8e # 09:51 G 11 0 0 0 drm: Convert all helpers to drm_connector_list_iter
# first bad commit: [2ab8c5f8c0358010a19e82656fa4826a6a51d1e0] drm: Clean up connectors by unreferencing them
git bisect good c36a3254f7857f1ad9badbe3578ccc92be541a8e # 09:57 G 31 0 0 0 drm: Convert all helpers to drm_connector_list_iter
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 2ab8c5f8c0358010a19e82656fa4826a6a51d1e0 # 10:15 B 0 1 14 0 drm: Clean up connectors by unreferencing them
# extra tests on HEAD of linux-devel/devel-hourly-2017081415
git bisect bad 32f099ddff1fa301fd327b424f506ec95f1fd359 # 10:20 B 0 23 39 0 0day head guard for 'devel-hourly-2017081415'
# extra tests on tree/branch linus/master
git bisect bad fcd07350007bdcc0aab506fb9b5703fad48a6521 # 10:53 B 0 11 24 0 Merge tag 'md/4.13-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md
# extra tests on tree/branch linux-next/master
git bisect bad 91dfed74eabcdae9378131546c446442c29bf769 # 11:22 B 0 1 14 0 Add linux-next specific files for 20170811
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
Download attachment "dmesg-yocto-lkp-nhm-dp2-11:20170815093330:x86_64-randconfig-s3-08150102:4.9.0-rc8-01683-g2ab8c5f:1.gz" of type "application/gzip" (26621 bytes)
View attachment "reproduce-yocto-lkp-nhm-dp2-11:20170815093330:x86_64-randconfig-s3-08150102:4.9.0-rc8-01683-g2ab8c5f:1" of type "text/plain" (877 bytes)
View attachment "config-4.9.0-rc8-01683-g2ab8c5f" of type "text/plain" (138418 bytes)
Powered by blists - more mailing lists