Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://anongit.freedesktop.org/drm-intel topic/drm-misc
commit 48c787899882ec9c3e111a81801c82d10da17810
Author: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
AuthorDate: Fri Sep 9 11:56:48 2016 +0200
Commit: Daniel Vetter <daniel.vetter(a)ffwll.ch>
CommitDate: Wed Sep 28 17:05:01 2016 +0200
drm: Add API for capturing frame CRCs
Adds files and directories to debugfs for controlling and reading frame
CRCs, per CRTC:
dri/0/crtc-0/crc
dri/0/crtc-0/crc/control
dri/0/crtc-0/crc/data
Drivers can implement the set_crc_source callback() in drm_crtc_funcs to
start and stop generating frame CRCs and can add entries to the output
by calling drm_crtc_add_crc_entry.
v2:
- Lots of good fixes suggested by Thierry.
- Added documentation.
- Changed the debugfs layout.
- Moved to allocate the entries circular queue once when frame
generation gets enabled for the first time.
v3:
- Use the control file just to select the source, and start and stop
capture when the data file is opened and closed, respectively.
- Make variable the number of CRC values per entry, per source.
- Allocate entries queue each time we start capturing as now there
isn't a fixed number of CRC values per entry.
- Store the frame counter in the data file as a 8-digit hex number.
- For sources that cannot provide useful frame numbers, place
XXXXXXXX in the frame field.
v4:
- Build only if CONFIG_DEBUG_FS is enabled.
- Use memdup_user_nul.
- Consolidate calculation of the size of an entry in a helper.
- Add 0x prefix to hex numbers in the data file.
- Remove unnecessary snprintf and strlen usage in read callback.
v5:
- Made the crcs array in drm_crtc_crc_entry fixed-size
- Lots of other smaller improvements suggested by Emil Velikov
v7:
- Move definition of drm_debugfs_crtc_crc_add to drm_internal.h
v8:
- Call debugfs_remove_recursive when we fail to create the minor
device
Signed-off-by: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
Reviewed-by: Emil Velikov <emil.velikov(a)collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter(a)ffwll.ch>
+------------------------------------------------+------------+------------+------------+
| | 21165bd933 | 48c7878998 | 8eaf1ba239 |
+------------------------------------------------+------------+------------+------------+
| boot_successes | 64 | 0 | 0 |
| boot_failures | 2 | 24 | 31 |
| IP-Config:Auto-configuration_of_network_failed | 2 | | |
| BUG:unable_to_handle_kernel | 0 | 24 | 31 |
| Oops:#[##] | 0 | 24 | 31 |
| EIP_is_at_drm_debugfs_crtc_add | 0 | 24 | 31 |
| calltrace:vgem_init | 0 | 24 | 31 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 24 | 31 |
+------------------------------------------------+------------+------------+------------+
[ 4.576085] platform pc8736x_gpio.0: no device found
[ 4.576933] nsc_gpio initializing
[ 4.577648] [drm] Initialized
[ 4.578262] BUG: unable to handle kernel paging request at fffffff8
[ 4.579313] IP: [<869c85a8>] drm_debugfs_crtc_add+0x8/0x80
[ 4.580213] *pde = 0f3e5067 *pte = 00000000
[ 4.580943] Oops: 0000 [#1]
[ 4.581409] CPU: 0 PID: 1 Comm: swapper Not tainted 4.8.0-rc8-01313-g48c7878 #1
[ 4.582581] task: 8cc98d40 task.stack: 8cc9a000
[ 4.583317] EIP: 0060:[<869c85a8>] EFLAGS: 00210282 CPU: 0
[ 4.584199] EIP is at drm_debugfs_crtc_add+0x8/0x80
[ 4.584990] EAX: fffffff8 EBX: fffffff8 ECX: d71025bd EDX: 8ef32000
[ 4.586000] ESI: 8ed5f280 EDI: fffffff8 EBP: 8cc9bef0 ESP: 8cc9bee4
[ 4.587007] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[ 4.587875] CR0: 80050033 CR2: fffffff8 CR3: 0f3e2000 CR4: 00000690
[ 4.588884] Stack:
[ 4.589215] 8ef3248c 8ed5f280 fffffff8 8cc9bf0c 869b1329 872c2cc0 8ef32000 8ef32000
[ 4.590605] 00000000 00000000 8cc9bf20 869b1a59 00000000 87390383 00000277 8cc9bf2c
[ 4.591984] 873903a6 00000000 8cc9bf88 87358b97 8d54f865 87358463 8cc9bf00 8645f9c9
[ 4.593364] Call Trace:
[ 4.593770] [<869b1329>] drm_minor_register+0xa9/0x1d0
[ 4.594616] [<869b1a59>] drm_dev_register+0x79/0xc0
[ 4.595422] [<87390383>] ? ttm_init+0x5c/0x5c
[ 4.596143] [<873903a6>] vgem_init+0x23/0x3a
[ 4.596855] [<87358b97>] do_one_initcall+0x79/0x102
[ 4.597665] [<87358463>] ? do_early_param+0x73/0x73
[ 4.598470] [<8645f9c9>] ? parse_args+0x239/0x400
[ 4.599246] [<87358cdf>] ? kernel_init_freeable+0xbf/0x15c
[ 4.600136] [<87358cff>] kernel_init_freeable+0xdf/0x15c
[ 4.601008] [<86e23978>] kernel_init+0x8/0xe0
[ 4.601732] [<86e29f2e>] ret_from_kernel_thread+0xe/0x30
[ 4.602600] [<86e23970>] ? rest_init+0xb0/0xb0
[ 4.603330] Code: 89 e5 53 89 d3 e8 19 bf cf ff c7 83 b4 02 00 00 00 00 00 00 5b 5d f3
c3 8d 74 26 00 8d bc 27 00 00 00 00 55 89 e5 57 56 53 89 c3 <8b> 00 8b 78 20 ff b3
84 00 00 00 68 76 11 18 87 68 c0 00 40 02
[ 4.607457] EIP: [<869c85a8>] drm_debugfs_crtc_add+0x8/0x80 SS:ESP 0068:8cc9bee4
[ 4.608684] CR2: 00000000fffffff8
[ 4.609231] ---[ end trace 4e66c671f796ab4c ]---
[ 4.609971] Kernel panic - not syncing: Fatal exception
git bisect start 8eaf1ba239ccb7c86e4658485303448475c60f32
08895a8b6b06ed2323cd97a36ee40a116b3db8ed --
git bisect bad fdb0b44991f3939c0f32b4527dc52fe4e778d003 # 01:13 0- 7 Merge
'ext3/for_next' into devel-spot-201609282342
git bisect bad cc299c15e9002868c07a0b243b39a97a0fae19f2 # 01:21 0- 5 Merge
'linux-review/Zhao-Qiang/irqchip-qeic-move-qeic-driver-from-drivers-soc-fsl-qe/20160928-203748'
into devel-spot-201609282342
git bisect bad 31397e976113884063ef2fce1e064575558d54be # 01:29 0- 13 Merge
'hid/for-next' into devel-spot-201609282342
git bisect good 91a74e1ebad5aa136abe98fee201f8d00cdec6e3 # 01:37 21+ 2 Merge
'linux-review/Bartosz-Golaszewski/drm-tilcdc-add-a-workaround-for-failed-clk_set_rate/20160928-214806'
into devel-spot-201609282342
git bisect bad c8c5fb567f3d9d08af78f9fa6e29796a9576fb8c # 01:49 0- 25 Merge
'drm-intel/drm-intel-nightly' into devel-spot-201609282342
git bisect good 8da08ca03b73593d5299893bf29fc08569c3fb5f # 02:34 22+ 2 ALSA:
usb-line6: use the same declaration as definition in header for MIDI manufacturer ID
git bisect good bc4ec7c83976fe03d2be75a8f64ea825f7b42867 # 02:47 22+ 0
drm/i915: don't report compression when fbc is disabled
git bisect good fb261cf8872d1a9cd04ff18e56994394b59956fc # 02:57 22+ 0 Merge
remote-tracking branch 'sound-upstream/for-linus' into drm-intel-nightly
git bisect bad 75f15d81dec216ef768f334fe6b425d7a82a4435 # 03:05 0- 22 Merge
remote-tracking branch 'origin/topic/drm-misc' into drm-intel-nightly
git bisect good 849fccd258ec702381328c0a52442d268ff96082 # 03:12 22+ 0 Merge
remote-tracking branch 'airlied/drm-next' into topic/drm-misc
git bisect bad 48c787899882ec9c3e111a81801c82d10da17810 # 03:22 0- 22 drm: Add
API for capturing frame CRCs
git bisect good 21165bd933acd4b9d5bb81cc15cfa1fc1258ddc5 # 03:31 21+ 0
drm/i915/debugfs: Move out pipe CRC code
# first bad commit: [48c787899882ec9c3e111a81801c82d10da17810] drm: Add API for capturing
frame CRCs
git bisect good 21165bd933acd4b9d5bb81cc15cfa1fc1258ddc5 # 03:34 62+ 0
drm/i915/debugfs: Move out pipe CRC code
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect bad 48c787899882ec9c3e111a81801c82d10da17810 # 03:41 0- 13 drm: Add
API for capturing frame CRCs
# extra tests on HEAD of linux-devel/devel-spot-201609282342
git bisect bad 8eaf1ba239ccb7c86e4658485303448475c60f32 # 03:42 0- 31 0day
head guard for 'devel-spot-201609282342'
# extra tests on tree/branch drm-intel/topic/drm-misc
git bisect bad ea568478ad07e6dcf90fc02265760f703b50fb3d # 03:56 0- 31
drm/i915: Put "cooked" vlank counters in frame CRC lines
# extra tests with first bad commit reverted
git bisect good cec18f4c24bb4a8d72ad8a7dfa39811f8be6bc9d # 04:08 66+ 0 Revert
"drm: Add API for capturing frame CRCs"
# extra tests on tree/branch linus/master
git bisect good ae6dd8d61913b5341067c7c660e8e91430d22e7c # 04:20 66+ 0 Merge
tag 'for-linus-20160928' of
git://git.infradead.org/linux-mtd
# extra tests on tree/branch linux-next/master
git bisect good d1dfecd6e1caba6b4d77be1036a8a5db9d6c3453 # 04:24 60+ 0 Add
linux-next specific files for 20160928
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation