[linus:master] [drm/tests] d219425604: WARNING:at_drivers/gpu/drm/drm_framebuffer.c:#drm_framebuffer_free[drm]
kernel test robot
oliver.sang at intel.com
Wed Dec 11 05:36:06 UTC 2024
Hello,
kernel test robot noticed "WARNING:at_drivers/gpu/drm/drm_framebuffer.c:#drm_framebuffer_free[drm]" on:
commit: d2194256049910d286cd6c308c2689df521d8842 ("drm/tests: Add test for drm_framebuffer_free()")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master
[test failed on linus/master 7503345ac5f5e82fd9a36d6e6b447c016376403a]
[test failed on linux-next/master ebe1b11614e079c5e366ce9bd3c8f44ca0fbcc1b]
in testcase: kunit
version:
with following parameters:
group: group-00
config: x86_64-rhel-9.4-kunit
compiler: gcc-12
test machine: 8 threads Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (Skylake) with 16G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang at intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202412111305.163da841-lkp@intel.com
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20241211/202412111305.163da841-lkp@intel.com
[ 152.407500][ T4768] ------------[ cut here ]------------
[ 152.418100][ T4768] drm-kunit-mock-device drm_test_framebuffer_free.drm-kunit-mock-device: [drm] drm_WARN_ON(!list_empty(&fb->filp_head))
[ 152.418134][ T4768] WARNING: CPU: 6 PID: 4768 at drivers/gpu/drm/drm_framebuffer.c:832 drm_framebuffer_free+0x126/0x1a0 [drm]
[ 152.441735][ T4768] Modules linked in: drm_framebuffer_test drm_kunit_helpers linear_ranges snd_hda_codec_hdmi snd_ctl_led snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal btrfs intel_powerclamp coretemp kvm_intel blake2b_generic xor kvm raid6_pq libcrc32c snd_soc_avs snd_soc_hda_codec crct10dif_pclmul snd_hda_ext_core i915 snd_soc_core sd_mod snd_compress sg snd_hda_intel ipmi_devintf ipmi_msghandler crc32_generic crc32_pclmul snd_intel_dspcfg cec snd_intel_sdw_acpi intel_gtt snd_hda_codec ttm snd_hda_core crc32c_intel drm_display_helper snd_hwdep ahci snd_pcm mei_wdt ghash_clmulni_intel drm_kms_helper libahci wmi_bmof rapl drm_buddy snd_timer video intel_cstate mei_me snd libata intel_uncore intel_pmc_core serio_raw mei pcspkr soundcore intel_pch_thermal intel_vsec wmi pmt_telemetry acpi_pad pmt_class binfmt_misc drm fuse loop dm_mod ip_tables chacha_generic poly1305_generic [last unloaded: drm_format_test]
[ 152.528270][ T4768] CPU: 6 UID: 0 PID: 4768 Comm: kunit_try_catch Tainted: G S B N 6.11.0-rc7-01411-gd21942560499 #1
[ 152.539795][ T4768] Tainted: [S]=CPU_OUT_OF_SPEC, [B]=BAD_PAGE, [N]=TEST
[ 152.546473][ T4768] Hardware name: HP HP Z240 SFF Workstation/802E, BIOS N51 Ver. 01.63 10/05/2017
[ 152.555399][ T4768] RIP: 0010:drm_framebuffer_free+0x126/0x1a0 [drm]
[ 152.561797][ T4768] Code: 8b 74 24 50 4d 85 f6 74 28 4c 89 e7 e8 f3 fc 78 c2 48 c7 c1 80 39 4c c0 4c 89 f2 48 c7 c7 e0 39 4c c0 48 89 c6 e8 5a 08 e4 c0 <0f> 0b e9 2e ff ff ff 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1
[ 152.581167][ T4768] RSP: 0018:ffffc90001397c08 EFLAGS: 00010282
[ 152.587067][ T4768] RAX: 0000000000000000 RBX: ffffc90001397cc8 RCX: 0000000000000027
[ 152.594872][ T4768] RDX: 0000000000000027 RSI: 0000000000000004 RDI: ffff8883c9930bc8
[ 152.602675][ T4768] RBP: ffffc90001397ca0 R08: 0000000000000001 R09: ffffed1079326179
[ 152.610478][ T4768] R10: ffff8883c9930bcb R11: 0000000000000001 R12: ffff888108fad000
[ 152.618275][ T4768] R13: ffff888435067000 R14: ffff888434a6ca80 R15: ffffc90000a8f650
[ 152.626076][ T4768] FS: 0000000000000000(0000) GS:ffff8883c9900000(0000) knlGS:0000000000000000
[ 152.634820][ T4768] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 152.641241][ T4768] CR2: 0000559f29c1e540 CR3: 000000043c06a003 CR4: 00000000003706f0
[ 152.649038][ T4768] DR0: ffffffff8757a458 DR1: ffffffff8757a459 DR2: ffffffff8757a45a
[ 152.656837][ T4768] DR3: ffffffff8757a45b DR6: 00000000fffe0ff0 DR7: 0000000000000600
[ 152.664639][ T4768] Call Trace:
[ 152.667783][ T4768] <TASK>
[ 152.670576][ T4768] ? __warn+0xc8/0x250
[ 152.674496][ T4768] ? drm_framebuffer_free+0x126/0x1a0 [drm]
[ 152.680289][ T4768] ? report_bug+0x25d/0x2c0
[ 152.684640][ T4768] ? handle_bug+0x3c/0x70
[ 152.688816][ T4768] ? exc_invalid_op+0x13/0x40
[ 152.693338][ T4768] ? asm_exc_invalid_op+0x16/0x20
[ 152.698206][ T4768] ? drm_framebuffer_free+0x126/0x1a0 [drm]
[ 152.703996][ T4768] ? drm_framebuffer_free+0x126/0x1a0 [drm]
[ 152.709806][ T4768] drm_test_framebuffer_free+0x188/0x510 [drm_framebuffer_test]
[ 152.717270][ T4768] ? __pfx_drm_test_framebuffer_free+0x10/0x10 [drm_framebuffer_test]
[ 152.725247][ T4768] ? __pfx_drm_mode_config_init_release+0x10/0x10 [drm]
[ 152.732090][ T4768] ? __drmm_add_action+0x19f/0x280 [drm]
[ 152.737636][ T4768] ? __schedule+0x6ea/0x1670
[ 152.742077][ T4768] ? __pfx_read_tsc+0x10/0x10
[ 152.746598][ T4768] ? ktime_get_ts64+0x82/0x240
[ 152.751206][ T4768] kunit_try_run_case+0x176/0x440
[ 152.756078][ T4768] ? try_to_wake_up+0x74d/0x1610
[ 152.760859][ T4768] ? __pfx_kunit_try_run_case+0x10/0x10
[ 152.766242][ T4768] ? __pfx__raw_spin_lock_irqsave+0x10/0x10
[ 152.771970][ T4768] ? set_cpus_allowed_ptr+0x81/0xb0
[ 152.777006][ T4768] ? __pfx_set_cpus_allowed_ptr+0x10/0x10
[ 152.782565][ T4768] ? __pfx_kunit_try_run_case+0x10/0x10
[ 152.787945][ T4768] ? __pfx_kunit_generic_run_threadfn_adapter+0x10/0x10
[ 152.794713][ T4768] kunit_generic_run_threadfn_adapter+0x7c/0xe0
[ 152.800784][ T4768] kthread+0x2d7/0x3c0
[ 152.804712][ T4768] ? __pfx_kthread+0x10/0x10
[ 152.809145][ T4768] ret_from_fork+0x30/0x70
[ 152.813410][ T4768] ? __pfx_kthread+0x10/0x10
[ 152.817843][ T4768] ret_from_fork_asm+0x1a/0x30
[ 152.822455][ T4768] </TASK>
[ 152.825331][ T4768] ---[ end trace 0000000000000000 ]---
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list