[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20201201022440.GA25891@xsang-OptiPlex-9020>
Date: Tue, 1 Dec 2020 10:24:40 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Leandro Ribeiro <leandro.ribeiro@...labora.com>
Cc: 0day robot <lkp@...el.com>, LKML <linux-kernel@...r.kernel.org>,
lkp@...ts.01.org, dri-devel <dri-devel@...ts.freedesktop.org>,
Melissa Wen <melissa.srw@...il.com>,
Haneen Mohammed <hamohammed.sa@...il.com>,
Rodrigo Siqueira <rodrigosiqueiramelo@...il.com>
Subject: [drm/vkms] b6c9ddb8c4:
WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_helper_probe_single_connector_modes
Greeting,
FYI, we noticed the following commit (built with gcc-9):
commit: b6c9ddb8c427706c12a28944d95bbade47f17554 ("[PATCH] drm/vkms: detect modes during output initialization")
url: https://github.com/0day-ci/linux/commits/Leandro-Ribeiro/drm-vkms-detect-modes-during-output-initialization/20201130-090510
base: git://anongit.freedesktop.org/drm-intel for-linux-next
in testcase: trinity
version: trinity-x86_64-af355e9-1_2019-12-03
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-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+----------------------------------------------------------------------------------------+------------+------------+
| | 5cc2b61fb2 | b6c9ddb8c4 |
+----------------------------------------------------------------------------------------+------------+------------+
| WARNING:at_drivers/gpu/drm/drm_probe_helper.c:#drm_helper_probe_single_connector_modes | 0 | 2 |
| RIP:drm_helper_probe_single_connector_modes | 0 | 2 |
| WARNING:at_drivers/gpu/drm/drm_modes.c:#drm_mode_probed_add | 0 | 2 |
| RIP:drm_mode_probed_add | 0 | 2 |
| WARNING:at_drivers/gpu/drm/drm_modes.c:#drm_connector_list_update | 0 | 2 |
| RIP:drm_connector_list_update | 0 | 2 |
+----------------------------------------------------------------------------------------+------------+------------+
If you fix the issue, kindly add following tag
Reported-by: kernel test robot <oliver.sang@...el.com>
[ 26.025573] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_probe_helper.c:429 drm_helper_probe_single_connector_modes+0xd0/0x11fc
[ 26.026322] Modules linked in:
[ 26.027751] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.0-rc2-00482-gb6c9ddb8c427 #1
[ 26.028271] RIP: 0010:drm_helper_probe_single_connector_modes+0xd0/0x11fc
[ 26.028722] Code: ea 03 80 3c 02 00 74 05 e8 40 78 f7 fe 48 8b 83 88 03 00 00 49 8d bc 24 80 04 00 00 48 89 44 24 28 e8 3c 4e d4 fe 84 c0 75 02 <0f> 0b 31 f6 48 8d bc 24 a0 00 00 00 e8 c0 3c 05 00 48 8d 43 48 48
[ 26.029931] RSP: 0018:ffff88810020fb70 EFLAGS: 00010246
[ 26.030286] RAX: 0000000000000000 RBX: ffff88815f8295a8 RCX: ffffffffa1faee29
[ 26.030780] RDX: 1ffff1102bf05090 RSI: 0000000000000008 RDI: ffff88815f828480
[ 26.031255] RBP: ffff88815f828000 R08: ffffed102bf05091 R09: 0000000000000002
[ 26.031727] R10: ffffed102bf05091 R11: ffff88815f828487 R12: ffff88815f828000
[ 26.032207] R13: ffff88815f6d7000 R14: ffff88815f6d6800 R15: ffff88815f8295a8
[ 26.032681] FS: 0000000000000000(0000) GS:ffffffffa5ca1000(0000) knlGS:0000000000000000
[ 26.033214] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 26.033601] CR2: 00007f3a14e77860 CR3: 0000000158c34000 CR4: 00000000000406f0
[ 26.034089] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 26.034577] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 26.035050] Call Trace:
[ 26.035228] ? kasprintf+0x8c/0xa8
[ 26.035466] ? drm_connector_mode_valid+0x12a/0x12a
[ 26.035796] ? drm_encoder_init+0x231/0x434
[ 26.036082] ? drm_atomic_normalize_zpos+0x76f/0x76f
[ 26.036418] ? drm_connector_init+0xcc2/0xd5b
[ 26.036714] ? drm_connector_list_iter_next+0x16c/0x16c
[ 26.037067] vkms_output_init+0x1a9/0x24f
[ 26.037362] vkms_init+0x3d2/0x43e
[ 26.037599] ? drm_core_init+0xc5/0xc5
[ 26.037858] ? drm_core_init+0xc5/0xc5
[ 26.038115] ? drm_core_init+0xc5/0xc5
[ 26.038373] do_one_initcall+0x111/0x28f
[ 26.038649] ? rcu_read_unlock+0x1e/0x1e
[ 26.038921] ? parameq+0x28/0x28
[ 26.039147] do_basic_setup+0x1b6/0x1e5
[ 26.039411] kernel_init_freeable+0x126/0x155
[ 26.039709] ? rest_init+0x10c/0x10c
[ 26.039956] kernel_init+0x8/0x107
[ 26.040191] ret_from_fork+0x1f/0x30
[ 26.040455] CPU: 0 PID: 1 Comm: swapper Not tainted 5.10.0-rc2-00482-gb6c9ddb8c427 #1
[ 26.040973] Call Trace:
[ 26.041150] __warn+0x133/0x16d
[ 26.041371] ? drm_helper_probe_single_connector_modes+0xd0/0x11fc
[ 26.041785] report_bug+0x151/0x192
[ 26.042028] handle_bug+0x3c/0x5d
[ 26.042258] exc_invalid_op+0x14/0x3d
[ 26.042545] asm_exc_invalid_op+0x12/0x20
[ 26.042825] RIP: 0010:drm_helper_probe_single_connector_modes+0xd0/0x11fc
[ 26.043279] Code: ea 03 80 3c 02 00 74 05 e8 40 78 f7 fe 48 8b 83 88 03 00 00 49 8d bc 24 80 04 00 00 48 89 44 24 28 e8 3c 4e d4 fe 84 c0 75 02 <0f> 0b 31 f6 48 8d bc 24 a0 00 00 00 e8 c0 3c 05 00 48 8d 43 48 48
[ 26.044511] RSP: 0018:ffff88810020fb70 EFLAGS: 00010246
[ 26.044871] RAX: 0000000000000000 RBX: ffff88815f8295a8 RCX: ffffffffa1faee29
[ 26.045346] RDX: 1ffff1102bf05090 RSI: 0000000000000008 RDI: ffff88815f828480
[ 26.045821] RBP: ffff88815f828000 R08: ffffed102bf05091 R09: 0000000000000002
[ 26.046295] R10: ffffed102bf05091 R11: ffff88815f828487 R12: ffff88815f828000
[ 26.046790] R13: ffff88815f6d7000 R14: ffff88815f6d6800 R15: ffff88815f8295a8
[ 26.047283] ? mutex_is_locked+0xe/0x3a
[ 26.047551] ? kasprintf+0x8c/0xa8
[ 26.047789] ? drm_connector_mode_valid+0x12a/0x12a
[ 26.048121] ? drm_encoder_init+0x231/0x434
[ 26.048408] ? drm_atomic_normalize_zpos+0x76f/0x76f
[ 26.048744] ? drm_connector_init+0xcc2/0xd5b
[ 26.049042] ? drm_connector_list_iter_next+0x16c/0x16c
[ 26.049396] vkms_output_init+0x1a9/0x24f
[ 26.049672] vkms_init+0x3d2/0x43e
[ 26.049909] ? drm_core_init+0xc5/0xc5
[ 26.050169] ? drm_core_init+0xc5/0xc5
[ 26.050450] ? drm_core_init+0xc5/0xc5
[ 26.050707] do_one_initcall+0x111/0x28f
[ 26.050975] ? rcu_read_unlock+0x1e/0x1e
[ 26.051244] ? parameq+0x28/0x28
[ 26.051469] do_basic_setup+0x1b6/0x1e5
[ 26.051732] kernel_init_freeable+0x126/0x155
[ 26.052027] ? rest_init+0x10c/0x10c
[ 26.052273] kernel_init+0x8/0x107
[ 26.052507] ret_from_fork+0x1f/0x30
[ 26.052753] irq event stamp: 4080453
[ 26.053000] hardirqs last enabled at (4080461): [<ffffffffa1fcecfa>] console_unlock+0x651/0x69a
[ 26.053577] hardirqs last disabled at (4080468): [<ffffffffa1fce784>] console_unlock+0xdb/0x69a
[ 26.054161] softirqs last enabled at (4068892): [<ffffffffa4600516>] __do_softirq+0x516/0x5b1
[ 26.054732] softirqs last disabled at (4068887): [<ffffffffa4400e1f>] asm_call_irq_on_stack+0xf/0x20
[ 26.055333] ---[ end trace f71b1d00dc6fce64 ]---
To reproduce:
# build kernel
cd linux
cp config-5.10.0-rc2-00482-gb6c9ddb8c427 .config
make HOSTCC=gcc-9 CC=gcc-9 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage
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,
Oliver Sang
View attachment "config-5.10.0-rc2-00482-gb6c9ddb8c427" of type "text/plain" (127137 bytes)
View attachment "job-script" of type "text/plain" (4651 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (26884 bytes)
Powered by blists - more mailing lists