Bug 202891
Summary: | __nvme_disable_io_queues triggers WARNING in kernel/irq/chip.c:210 | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Piotr Tworek (tworaz) |
Component: | Other | Assignee: | io_other |
Status: | NEW --- | ||
Severity: | normal | CC: | bvanassche, danielrparks, dex, hch, kat.zygfryd, kernel |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 5.0.1 5.1.0 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Attachments: |
Dmesg from linux 5.0.1
kernel 5.0.5 trace Full dmesg on 5.2.13 |
Description
Piotr Tworek
2019-03-12 22:32:56 UTC
Created attachment 281775 [details]
Dmesg from linux 5.0.1
Attaching full dmesg.
Created attachment 282087 [details]
kernel 5.0.5 trace
Same issue on Lenovo Thinpad E485 with kernel 5.0.5
The problem still persists in kernel 5.1.0 I've stumbled on this on phoronix formus https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/1089720-amdgpu-laptop-suspend-hang?p=1091151#post1091151. I can confirm this change does solve the problem on my laptop. Created attachment 285363 [details]
Full dmesg on 5.2.13
I get this bug a lot too, on 5.2.13.
Hardware:
* Ryzen 2700
* 64GB ECC RAM
* Samsung 970 Pro 512GB NVMe
Happens on 5.3.6 too. I think the kernel warning refers to the following source code: if (cpumask_any_and(aff, cpu_online_mask) >= nr_cpu_ids) { /* * Catch code which fiddles with enable_irq() on a managed * and potentially shutdown IRQ. Chained interrupt * installment or irq auto probing should not happen on * managed irqs either. */ if (WARN_ON_ONCE(force)) return IRQ_STARTUP_ABORT; /* * The interrupt was requested, but there is no online CPU * in it's affinity mask. Put it into managed shutdown * state and let the cpu hotplug mechanism start it up once * a CPU in the mask becomes available. */ return IRQ_STARTUP_ABORT; } See also https://lore.kernel.org/lkml/CAEJqkggcnW98Sk3BEBCCZf57Uwd9rdqD5Da0tmuTaNfkJN5kVg@mail.gmail.com/ I am also affected by this bug on kernel 5.7.2-arch1-1, with a Dell Inspiron 7405, AMD Ryzen 7 4700u, and a PC SN530 NVMe WDC 512GB SSD. Here is the oops from my kernel messages: ------------[ cut here ]------------ WARNING: CPU: 6 PID: 2042 at kernel/irq/chip.c:210 irq_startup+0xdf/0xf0 Modules linked in: fuse ccm btusb btrtl btbcm btintel bluetooth uvcvideo joydev videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 mousedev video> pinctrl_amd acpi_tad ac drm crypto_user agpgart ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 crc32c_intel x> CPU: 6 PID: 2042 Comm: systemd-sleep Not tainted 5.6.15-arch1-1 #1 Hardware name: Dell Inc. Inspiron 7405 2n1/042J14, BIOS 1.0.0 03/19/2020 RIP: 0010:irq_startup+0xdf/0xf0 Code: f6 4c 89 e7 e8 02 45 00 00 85 c0 75 21 4c 89 e7 31 d2 4c 89 ee e8 21 c9 ff ff 48 89 ef e8 b9 fe ff ff 41 89 c4 e9 53 ff ff ff <0f> 0b eb b> RSP: 0018:ffffb7c8c2de3d90 EFLAGS: 00010002 RAX: 0000000000000140 RBX: 0000000000000001 RCX: 0000000000000140 RDX: 0000000000000004 RSI: ffffffff8b565160 RDI: ffff976402fb0818 RBP: ffff976402fb0800 R08: 0000000000000000 R09: 0000000000000140 R10: 0000000000000000 R11: ffffffff8b453648 R12: 0000000000000001 R13: ffff976402fb0818 R14: ffff976402fb08e4 R15: 0000000000000000 FS: 00007f2aae131a80(0000) GS:ffff976407580000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005634481363e6 CR3: 000000017a266000 CR4: 0000000000340ee0 Call Trace: resume_irqs+0xb6/0xf0 dpm_resume_noirq+0xf/0x20 suspend_devices_and_enter+0x338/0x8a0 pm_suspend.cold+0x333/0x387 state_store+0x42/0x90 kernfs_fop_write+0xce/0x1b0 vfs_write+0xb6/0x1a0 ksys_write+0x67/0xe0 do_syscall_64+0x49/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x7f2aaf094b57 Code: 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f> RSP: 002b:00007ffe27d04b98 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f2aaf094b57 RDX: 0000000000000004 RSI: 00007ffe27d04c80 RDI: 0000000000000004 RBP: 00007ffe27d04c80 R08: 000055df0939ea90 R09: 000000000000000d R10: 000055df0939ac00 R11: 0000000000000246 R12: 0000000000000004 R13: 000055df0939a3c0 R14: 0000000000000004 R15: 00007f2aaf165700 ---[ end trace b43f52b8ea5824de ]--- |