Subject: [Bug Report] Warning from __flush_work() on next-20241126

From: Muhammad Usama Anjum <[email-masked]>
Date: Tue, 26 Nov 2024 19:16:19 +0500

Hi, 

We are getting this warning on x86_64 and i386 targets:
[    8.677157] amdgpu 0000:03:00.0: [drm:amdgpu_ib_ring_tests] *ERROR* IB test failed on sdma0 (-110).
[    8.698661] ------------[ cut here ]------------
[    8.703310] WARNING: CPU: 1 PID: 49 at kernel/workqueue.c:4192 __flush_work+0xb8/0xd0
[    8.711206] Modules linked in:
[    8.714285] CPU: 1 UID: 0 PID: 49 Comm: kworker/1:1 Tainted: G        W          6.12.0-next-20241126 #1
[    8.723790] Tainted: [W]=WARN
[    8.726781] Hardware name: Google Shuboz/Shuboz, BIOS Google_Shuboz.13434.780.2022_10_13_1418 09/12/2022
[    8.736273] Workqueue: events amdgpu_device_delayed_init_work_handler
[    8.742768] EIP: __flush_work+0xb8/0xd0
[    8.746632] Code: 00 00 f3 90 8d 45 c0 e8 92 1d 04 00 84 c0 74 f2 eb d2 8d b4 26 00 00 00 00 90 0f 0b c6 45 9b 00 eb c2 8d b4 26 00 00 00 00 90 <0f> 0b eb ee 8d 74 26 00 0f 0b eb a6 8d 74 26 00 e8 8f c4 8d 01 8d
[    8.765410] EAX: 00000000 EBX: c272ee01 ECX: 00000001 EDX: 00000000
[    8.771726] ESI: c272eea8 EDI: c194d77c EBP: c17bbd64 ESP: c17bbcfc
[    8.778011] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010246
[    8.784829] CR0: 80050033 CR2: 00000000 CR3: 1355b000 CR4: 003506d0
[    8.791120] Call Trace:
[    8.793591]  ? show_regs+0x51/0x58
[    8.797028]  ? __flush_work+0xb8/0xd0
[    8.800724]  ? __warn+0x8d/0x1b8
[    8.804024]  ? __flush_work+0xb8/0xd0
[    8.807710]  ? __flush_work+0xb8/0xd0
[    8.811403]  ? report_bug+0x186/0x1b0
[    8.815094]  ? __flush_work+0xb9/0xd0
[    8.818785]  ? exc_overflow+0x50/0x50
[    8.822474]  ? handle_bug+0x56/0x90

For complete details:
[1] https://kcidb.kernelci.org/d/test/test?orgId=1&var-datasource=default&var-build_architecture=i386&var-build_config_name=defconfig&var-id=maestro:67455b9a3be6da94b19fde77&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=$__all
[2]https://kcidb.kernelci.org/d/test/test?orgId=1&var-datasource=default&var-build_architecture=x86_64&var-build_config_name=cros:%2F%2Fchromeos-6.6%2Fx86_64%2Fchromeos-amd-stoneyridge.flavour.config&var-id=maestro:67455b923be6da94b19fde4b&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=$__all
[3]https://kcidb.kernelci.org/d/test/test?orgId=1&var-datasource=default&var-build_architecture=x86_64&var-build_config_name=cros:%2F%2Fchromeos-6.6%2Fx86_64%2Fchromeos-amd-stoneyridge.flavour.config&var-id=maestro:67455b923be6da94b19fde48&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=$__all
[4]https://kcidb.kernelci.org/d/test/test?orgId=1&var-datasource=default&var-build_architecture=x86_64&var-build_config_name=cros:%2F%2Fchromeos-6.6%2Fx86_64%2Fchromeos-amd-stoneyridge.flavour.config&var-id=maestro:67455b8c3be6da94b19fde34&from=now-100y&to=now&timezone=browser&var-origin=$__all&var-test_path=&var-issue_presence=$__all

-- 
BR,
Muhammad Usama Anjum