FYI, we noticed the following commit (built with gcc-5):
commit: 032631254237dd6f9e19b921c67c2baca002f3c7 ("[PATCH v2] drm/fb-helper: Scale
back depth to supported maximum")
url:
https://github.com/0day-ci/linux/commits/Linus-Walleij/drm-fb-helper-Scal...
in testcase: trinity
with following parameters:
runtime: 300s
test-description: Trinity is a linux system call fuzz tester.
test-url:
http://codemonkey.org.uk/projects/trinity/
on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+--------------------------------------------------------------------+------------+------------+
| | 00c569b567 |
0326312542 |
+--------------------------------------------------------------------+------------+------------+
| boot_successes | 8 | 0
|
| boot_failures | 0 | 4
|
| WARNING:at_drivers/gpu/drm/drm_fourcc.c:#drm_format_info | 0 | 4
|
| EIP:drm_format_info | 0 | 4
|
| WARNING:at_drivers/gpu/drm/drm_framebuffer.c:#drm_framebuffer_init | 0 | 4
|
| EIP:drm_framebuffer_init | 0 | 4
|
+--------------------------------------------------------------------+------------+------------+
[ 87.210989] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_fourcc.c:269
drm_format_info+0x7b/0x90
[ 87.210989] CPU: 0 PID: 1 Comm: swapper Tainted: G T
4.20.0-06429-g0326312 #1
[ 87.210989] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1
04/01/2014
[ 87.210989] EIP: drm_format_info+0x7b/0x90
[ 87.210989] Code: 63 e6 db 31 c9 e8 c5 73 7f ff 8d 65 f8 89 d8 5b 5e 5d c3 8d 74 26 00
6a 01 31 c9 ba 01 00 00 00 b8 40 63 e6 db e8 a5 73 7f ff <0f> 0b 31 db ba 01 00 00
00 58 eb c7 89 f6 8d bc 27 00 00 00 00 66
[ 87.210989] EAX: 00000001 EBX: 324c3058 ECX: 00000000 EDX: 00000001
[ 87.210989] ESI: 00000000 EDI: d6216800 EBP: df291c90 ESP: df291c84
[ 87.210989] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210202
[ 87.210989] CR0: 80050033 CR2: 00000000 CR3: 1c074000 CR4: 000406b0
[ 87.210989] Call Trace:
[ 87.210989] drm_get_format_info+0x38/0x40
[ 87.210989] drm_helper_mode_fill_fb_struct+0x1c/0x60
[ 87.210989] drm_gem_fb_alloc+0x3b/0xb0
[ 87.210989] drm_gem_fbdev_fb_create+0x83/0xb0
[ 87.210989] bochsfb_create+0x1ff/0x3f0
[ 87.210989] __drm_fb_helper_initial_config_and_unlock+0x263/0x490
[ 87.210989] drm_fb_helper_fbdev_setup+0x142/0x250
[ 87.210989] bochs_fbdev_init+0x22/0x30
[ 87.210989] bochs_pci_probe+0x166/0x180
[ 87.210989] pci_device_probe+0x92/0x110
[ 87.210989] really_probe+0x232/0x4c0
[ 87.210989] driver_probe_device+0x1a2/0x1f0
[ 87.210989] ? driver_probe_device+0x1a2/0x1f0
[ 87.210989] __driver_attach+0x149/0x150
[ 87.210989] ? __driver_attach+0x149/0x150
[ 87.210989] ? driver_probe_device+0x1f0/0x1f0
[ 87.210989] bus_for_each_dev+0x4b/0x90
[ 87.210989] ? bus_for_each_dev+0x4b/0x90
[ 87.210989] driver_attach+0x1c/0x30
[ 87.210989] ? driver_probe_device+0x1f0/0x1f0
[ 87.210989] bus_add_driver+0x23f/0x2b0
[ 87.210989] driver_register+0x56/0xf0
[ 87.210989] ? driver_register+0x56/0xf0
[ 87.210989] __pci_register_driver+0x3e/0x50
[ 87.210989] bochs_init+0x7a/0x8e
[ 87.210989] do_one_initcall+0x92/0x329
[ 87.210989] ? psb_init+0x39/0x39
[ 87.210989] ? kernel_init_freeable+0x15a/0x3cc
[ 87.210989] ? kernel_init_freeable+0x15a/0x3cc
[ 87.210989] kernel_init_freeable+0x1cd/0x3cc
[ 87.210989] ? schedule_tail+0x85/0xa0
[ 87.210989] ? rest_init+0xb0/0xb0
[ 87.210989] kernel_init+0xd/0x100
[ 87.210989] ret_from_fork+0x1e/0x30
[ 87.210989] ---[ end trace bc9f986410312392 ]---
To reproduce:
git clone
https://github.com/intel/lkp-tests.git
cd lkp-tests
bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks,
lkp