Hay
Date
July 19, 2025, 11:11 a.m.

Environment
qemu-x86_64

------------[ cut here ]------------
[  140.427829] WARNING: CPU: 1 PID: 1976 at drivers/gpu/drm/drm_connector.c:861 drm_connector_dynamic_register+0xbf/0x110
[  140.429318] Modules linked in:
[  140.429747] CPU: 1 UID: 0 PID: 1976 Comm: kunit_try_catch Tainted: G    B D W        N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[  140.430096] Tainted: [B]=BAD_PAGE, [D]=DIE, [W]=WARN, [N]=TEST
[  140.430719] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  140.431721] RIP: 0010:drm_connector_dynamic_register+0xbf/0x110
[  140.432380] Code: 49 8d 7c 24 60 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 02 7e 36 31 c0 41 80 7c 24 60 00 75 1b 5b 41 5c 5d e9 c2 34 26 02 90 <0f> 0b 90 b8 ea ff ff ff 5b 41 5c 5d c3 cc cc cc cc 48 89 df e8 68
[  140.432913] RSP: 0000:ffff8881052a7c90 EFLAGS: 00010246
[  140.433160] RAX: dffffc0000000000 RBX: ffff888104a8e000 RCX: 0000000000000000
[  140.433847] RDX: 1ffff11020951c32 RSI: ffffffffb7c06998 RDI: ffff888104a8e190
[  140.434579] RBP: ffff8881052a7ca0 R08: 1ffff11020073f69 R09: ffffed1020a54f65
[  140.435085] R10: 0000000000000003 R11: ffffffffb71859b8 R12: 0000000000000000
[  140.435486] R13: ffff8881052a7d38 R14: ffff88810039fc50 R15: ffff88810039fc58
[  140.436135] FS:  0000000000000000(0000) GS:ffff88819e772000(0000) knlGS:0000000000000000
[  140.436772] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  140.436961] CR2: 00007ffff7ffe000 CR3: 00000001538bc000 CR4: 00000000000006f0
[  140.437607] DR0: ffffffffbca52440 DR1: ffffffffbca52441 DR2: ffffffffbca52443
[  140.438596] DR3: ffffffffbca52445 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[  140.439396] Call Trace:
[  140.439699]  <TASK>
[  140.440153]  drm_test_drm_connector_dynamic_register_early_no_init+0x104/0x290
[  140.440744]  ? __kasan_check_write+0x18/0x20
[  140.440913]  ? __pfx_drm_test_drm_connector_dynamic_register_early_no_init+0x10/0x10
[  140.441289]  ? sysvec_apic_timer_interrupt+0x50/0x90
[  140.441748]  ? trace_hardirqs_on+0x37/0xe0
[  140.442188]  ? __pfx_read_tsc+0x10/0x10
[  140.442668]  ? ktime_get_ts64+0x86/0x230
[  140.443127]  kunit_try_run_case+0x1a5/0x480
[  140.443593]  ? __pfx_kunit_try_run_case+0x10/0x10
[  140.443899]  ? queued_spin_lock_slowpath+0x116/0xb40
[  140.444138]  ? __kthread_parkme+0x82/0x180
[  140.444580]  ? preempt_count_sub+0x50/0x80
[  140.445193]  ? __pfx_kunit_try_run_case+0x10/0x10
[  140.445721]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[  140.445911]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[  140.446172]  kthread+0x337/0x6f0
[  140.446525]  ? trace_preempt_on+0x20/0xc0
[  140.447190]  ? __pfx_kthread+0x10/0x10
[  140.447717]  ? _raw_spin_unlock_irq+0x47/0x80
[  140.448429]  ? calculate_sigpending+0x7b/0xa0
[  140.449002]  ? __pfx_kthread+0x10/0x10
[  140.449380]  ret_from_fork+0x116/0x1d0
[  140.449937]  ? __pfx_kthread+0x10/0x10
[  140.450435]  ret_from_fork_asm+0x1a/0x30
[  140.450622]  </TASK>
[  140.450719] ---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
[  140.511437] WARNING: CPU: 0 PID: 1984 at drivers/gpu/drm/drm_connector.c:861 drm_connector_dynamic_register+0xbf/0x110
[  140.513104] Modules linked in:
[  140.513704] CPU: 0 UID: 0 PID: 1984 Comm: kunit_try_catch Tainted: G    B D W        N  6.16.0-rc6 #1 PREEMPT(voluntary) 
[  140.515204] Tainted: [B]=BAD_PAGE, [D]=DIE, [W]=WARN, [N]=TEST
[  140.515798] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
[  140.516923] RIP: 0010:drm_connector_dynamic_register+0xbf/0x110
[  140.517806] Code: 49 8d 7c 24 60 48 89 fa 48 c1 ea 03 0f b6 04 02 84 c0 74 02 7e 36 31 c0 41 80 7c 24 60 00 75 1b 5b 41 5c 5d e9 c2 34 26 02 90 <0f> 0b 90 b8 ea ff ff ff 5b 41 5c 5d c3 cc cc cc cc 48 89 df e8 68
[  140.519654] RSP: 0000:ffff888105357c90 EFLAGS: 00010246
[  140.520005] RAX: dffffc0000000000 RBX: ffff888104ace000 RCX: 0000000000000000
[  140.520701] RDX: 1ffff11020959c32 RSI: ffffffffb7c06998 RDI: ffff888104ace190
[  140.521523] RBP: ffff888105357ca0 R08: 1ffff11020073f69 R09: ffffed1020a6af65
[  140.522027] R10: 0000000000000003 R11: ffffffffb71859b8 R12: 0000000000000000
[  140.522557] R13: ffff888105357d38 R14: ffff88810039fc50 R15: ffff88810039fc58
[  140.522854] FS:  0000000000000000(0000) GS:ffff88819e672000(0000) knlGS:0000000000000000
[  140.523198] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  140.523652] CR2: 00007ffff7ffe000 CR3: 00000001538bc000 CR4: 00000000000006f0
[  140.523966] DR0: ffffffffbca52440 DR1: ffffffffbca52441 DR2: ffffffffbca52442
[  140.524366] DR3: ffffffffbca52443 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[  140.524649] Call Trace:
[  140.524790]  <TASK>
[  140.524931]  drm_test_drm_connector_dynamic_register_no_init+0x104/0x290
[  140.525338]  ? __pfx_drm_test_drm_connector_dynamic_register_no_init+0x10/0x10
[  140.525691]  ? __pfx_drm_test_drm_connector_dynamic_register_no_init+0x10/0x10
[  140.525974]  kunit_try_run_case+0x1a5/0x480
[  140.526266]  ? __pfx_kunit_try_run_case+0x10/0x10
[  140.526490]  ? _raw_spin_lock_irqsave+0xa1/0x100
[  140.526713]  ? _raw_spin_unlock_irqrestore+0x5f/0x90
[  140.526889]  ? __kthread_parkme+0x82/0x180
[  140.527367]  ? preempt_count_sub+0x50/0x80
[  140.527623]  ? __pfx_kunit_try_run_case+0x10/0x10
[  140.527806]  kunit_generic_run_threadfn_adapter+0x85/0xf0
[  140.528009]  ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[  140.528286]  kthread+0x337/0x6f0
[  140.528513]  ? trace_preempt_on+0x20/0xc0
[  140.528691]  ? __pfx_kthread+0x10/0x10
[  140.528878]  ? _raw_spin_unlock_irq+0x47/0x80
[  140.529048]  ? calculate_sigpending+0x7b/0xa0
[  140.529439]  ? __pfx_kthread+0x10/0x10
[  140.529642]  ret_from_fork+0x116/0x1d0
[  140.529835]  ? __pfx_kthread+0x10/0x10
[  140.530003]  ret_from_fork_asm+0x1a/0x30
[  140.530191]  </TASK>
[  140.530371] ---[ end trace 0000000000000000 ]---