[WARNING] amdgpu_irq_put at bootup 6.3.2
Brief summary of the problem:
when booting the kernel with a RX 6600 XT GPU, it prints a warning.
Reproducible: always
[ 40.002677] Modules linked in: amdgpu raid0 bcachefs iwlmvm mfd_core drm_buddy drm_ttm_helper mean_and_variance mac80211 intel_rapl_msr ttm intel_rapl_common drm_display_helper libarc4 iosf_mbi gpu_sched polyval_clmulni drm_kms_helper btusb polyval_generic igb btintel sha512_ssse3 hid_generic iwlwifi atlantic bluetooth i2c_algo_bit rapl dca gigabyte_wmi wmi_bmof i2c_piix4 ccp mpt3sas gpio_amdpt gpio_generic efivarfs
[ 40.002708] CPU: 15 PID: 337 Comm: kworker/15:2 Not tainted 6.3.2experimental+ #9
[ 40.002711] Hardware name: Gigabyte Technology Co., Ltd. X399 DESIGNARE EX/X399 DESIGNARE EX-CF, BIOS F13a 11/30/2021
[ 40.002713] Workqueue: pm pm_runtime_work
[ 40.002717] RIP: 0010:amdgpu_bo_free_kernel+0x18e/0x270 [amdgpu]
[ 40.002786] Code: 49 8b b5 30 01 00 00 f0 49 29 b4 24 38 39 01 00 e9 18 ff ff ff 49 8b 85 30 01 00 00 f0 49 29 84 24 40 39 01 00 e9 03 ff ff ff <0f> 0b 4d 8b 27 4d 8b ac 24 a8 01 00 00 e9 94 fe ff ff 81 f9 00 fe
[ 40.002789] RSP: 0018:ffffc9000119b690 EFLAGS: 00010202
[ 40.002792] RAX: ffff8881c6080010 RBX: 0000000000000000 RCX: 000000000000000c
[ 40.002794] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8881c60861d8
[ 40.002796] RBP: ffffc9000119ba60 R08: ffff888108e25800 R09: 0000000000000001
[ 40.002797] R10: ffff8881c6080010 R11: 0000000000000000 R12: ffff888102997400
[ 40.002799] R13: ffff8881c6085588 R14: 0000000000000000 R15: ffff8881c60861d8
[ 40.002800] FS: 0000000000000000(0000) GS:ffff889ffebc0000(0000) knlGS:0000000000000000
[ 40.002803] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 40.002805] CR2: 0000559a79d11b08 CR3: 000000006e209000 CR4: 00000000003506e0
[ 40.002806] Call Trace:
[ 40.002808] <TASK>
[ 40.002809] ? amdgpu_dm_atomic_commit_tail+0x2bcc/0x2ca0 [amdgpu]
[ 40.002878] ? console_flush_all+0x11c/0x380
[ 40.002882] ? get_page_from_freelist+0xd77/0xdb0
[ 40.002886] ? vprintk_emit+0xc0/0x1b0
[ 40.002889] ? __alloc_pages+0xfc/0x1f0
[ 40.002893] ? new_slab+0x10b/0x3b0
[ 40.002896] ? slab_post_alloc_hook+0x60/0x200
[ 40.002899] ? complete_all+0x16/0x80
[ 40.002903] ? commit_tail+0x9d/0x200 [drm_kms_helper]
[ 40.002910] ? drm_dp_mst_atomic_wait_for_dependencies+0x130/0x130 [drm_display_helper]
[ 40.002917] ? drm_atomic_helper_commit+0x26a/0x280 [drm_kms_helper]
[ 40.002924] ? drm_atomic_commit+0x89/0xa0
[ 40.002927] ? ___drm_dbg+0x80/0x80
[ 40.002931] ? drm_atomic_helper_disable_all+0x149/0x190 [drm_kms_helper]
[ 40.002937] ? drm_atomic_helper_suspend+0x92/0x140 [drm_kms_helper]
[ 40.002944] ? dm_suspend+0x269/0x420 [amdgpu]
[ 40.003011] ? delay_halt+0x2c/0x50
[ 40.003015] ? gfx_v10_0_set_safe_mode+0x2ff/0x490 [amdgpu]
[ 40.003082] ? amdgpu_device_ip_suspend_phase1+0x221/0x280 [amdgpu]
[ 40.003150] ? amdgpu_device_suspend+0x166/0x2a0 [amdgpu]
[ 40.003217] ? amdgpu_pmops_runtime_suspend+0xb8/0x1b0 [amdgpu]
[ 40.003285] ? pci_pm_runtime_suspend+0xad/0x1e0
[ 40.003288] ? pci_pm_resume_noirq+0x2b0/0x2b0
[ 40.003291] ? __rpm_callback+0xbc/0x400
[ 40.003293] ? update_load_avg+0x1bb/0x630
[ 40.003296] ? pci_pm_resume_noirq+0x2b0/0x2b0
[ 40.003298] ? rpm_suspend+0x554/0xab0
[ 40.003300] ? __switch_to+0x165/0x4d0
[ 40.003303] ? pick_next_task_fair+0x111/0x2d0
[ 40.003306] ? __switch_to_asm+0x3a/0x60
[ 40.003308] ? pm_runtime_work+0x7e/0x90
[ 40.003310] ? process_one_work+0x1d5/0x300
[ 40.003313] ? worker_thread+0x2ad/0x5f0
[ 40.003315] ? kthread+0x225/0x240
[ 40.003317] ? rcu_free_pool+0x120/0x120
[ 40.003319] ? kthreadd+0x2c0/0x2c0
[ 40.003322] ? ret_from_fork+0x1f/0x30
[ 40.003324] </TASK>
[ 40.003325] ---[ end trace 0000000000000000 ]---
[ 40.128567] ------------[ cut here ]------------
[ 40.128570] WARNING: CPU: 15 PID: 337 at drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c:599 amdgpu_irq_put+0xc0/0xd0 [amdgpu]
[ 40.128640] Modules linked in: amdgpu raid0 bcachefs iwlmvm mfd_core drm_buddy drm_ttm_helper mean_and_variance mac80211 intel_rapl_msr ttm intel_rapl_common drm_display_helper libarc4 iosf_mbi gpu_sched polyval_clmulni drm_kms_helper btusb polyval_generic igb btintel sha512_ssse3 hid_generic iwlwifi atlantic bluetooth i2c_algo_bit rapl dca gigabyte_wmi wmi_bmof i2c_piix4 ccp mpt3sas gpio_amdpt gpio_generic efivarfs
[ 40.128662] CPU: 15 PID: 337 Comm: kworker/15:2 Tainted: G W 6.3.2experimental+ #9
[ 40.128665] Hardware name: Gigabyte Technology Co., Ltd. X399 DESIGNARE EX/X399 DESIGNARE EX-CF, BIOS F13a 11/30/2021
[ 40.128667] Workqueue: pm pm_runtime_work
[ 40.128670] RIP: 0010:amdgpu_irq_put+0xc0/0xd0 [amdgpu]
[ 40.128738] Code: f6 89 da ff 10 89 c3 4c 89 e7 4c 89 ee e8 a8 8f 91 e1 89 d8 eb 05 b8 fe ff ff ff 5b 41 5c 41 5d 41 5e 41 5f 5d c3 31 c0 eb f1 <0f> 0b eb ed 00 00 00 00 00 00 00 00 00 00 00 00 41 56 53 49 89 fe
[ 40.128740] RSP: 0018:ffffc9000119bc20 EFLAGS: 00010246
[ 40.128742] RAX: 00000000ffffffea RBX: 0000000000000000 RCX: ffff888100e33e48
[ 40.128744] RDX: ffffffffa0bf01a0 RSI: ffff8881c6082510 RDI: ffff8881c6080000
[ 40.128745] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000100000
[ 40.128747] R10: ffff88810437c680 R11: ffff88810437c680 R12: 0000000000000001
[ 40.128748] R13: ffff8881c60989a8 R14: ffff8881c6082510 R15: ffff8881c60989a0
[ 40.128749] FS: 0000000000000000(0000) GS:ffff889ffebc0000(0000) knlGS:0000000000000000
[ 40.128751] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 40.128753] CR2: 0000559a79d11b08 CR3: 000000006e209000 CR4: 00000000003506e0
[ 40.128754] Call Trace:
[ 40.128755] <TASK>
[ 40.128756] ? gmc_v10_0_suspend+0x41/0x70 [amdgpu]
[ 40.128824] ? amdgpu_device_ip_suspend_phase2+0x125/0x200 [amdgpu]
[ 40.128891] ? amdgpu_device_suspend+0x1b9/0x2a0 [amdgpu]
[ 40.128959] ? amdgpu_pmops_runtime_suspend+0xb8/0x1b0 [amdgpu]
[ 40.129026] ? pci_pm_runtime_suspend+0xad/0x1e0
[ 40.129029] ? pci_pm_resume_noirq+0x2b0/0x2b0
[ 40.129031] ? __rpm_callback+0xbc/0x400
[ 40.129033] ? update_load_avg+0x1bb/0x630
[ 40.129036] ? pci_pm_resume_noirq+0x2b0/0x2b0
[ 40.129038] ? rpm_suspend+0x554/0xab0
[ 40.129040] ? __switch_to+0x165/0x4d0
[ 40.129042] ? pick_next_task_fair+0x111/0x2d0
[ 40.129045] ? __switch_to_asm+0x3a/0x60
[ 40.129047] ? pm_runtime_work+0x7e/0x90
[ 40.129049] ? process_one_work+0x1d5/0x300
[ 40.129051] ? worker_thread+0x2ad/0x5f0
[ 40.129053] ? kthread+0x225/0x240
[ 40.129056] ? rcu_free_pool+0x120/0x120
[ 40.129057] ? kthreadd+0x2c0/0x2c0
[ 40.129060] ? ret_from_fork+0x1f/0x30
[ 40.129062] </TASK>
[ 40.129063] ---[ end trace 0000000000000000 ]---
Hardware description:
- CPU: AMD Ryzen Threadripper 2950X
- GPU: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c1)
- System Memory: 128GB
- Display(s): no graphical interface, console only
- Type of Display Connection: vga
System information:
- Distro name and Version: Gentoo Linux
- Kernel version: 6.3.2
- Custom kernel: bcachefs kernel 6.3 patched to 6.3.2
- AMD official driver version: N/A
How to reproduce the issue:
Probably a clang 16 bug (view attached config to see details)