[Bug 1161867] New: kernel 5.3.18-lp152.1 : Interrupts enabled after mce_syscore_resume
http://bugzilla.opensuse.org/show_bug.cgi?id=1161867 Bug ID: 1161867 Summary: kernel 5.3.18-lp152.1 : Interrupts enabled after mce_syscore_resume Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 828310 --> http://bugzilla.opensuse.org/attachment.cgi?id=828310&action=edit dmesg Steps to reproduce 0. have Asrock Deskmini A300 + Athlon 3000G 1. systemctl hibernate 2. resume 3. (maybe optional) kill X11 with 2x ctrl-alt-backspace Actual Results: dmesg contains 2 backtraces no accelerated graphics anymore -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1161867 http://bugzilla.opensuse.org/show_bug.cgi?id=1161867#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hare@suse.com, | |tiwai@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Looks like a nvme issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1161867 http://bugzilla.opensuse.org/show_bug.cgi?id=1161867#c2 Daniel Wagner <daniel.wagner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.wagner@suse.com --- Comment #2 from Daniel Wagner <daniel.wagner@suse.com> --- The messager: chip.c: static int __irq_startup_managed(struct irq_desc *desc, struct cpumask *aff, bool force) { [...] 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; [...] } And the source of the problem: /* * Poll for completions any queue, including those not dedicated to polling. * Can be called from any context. */ static int nvme_poll_irqdisable(struct nvme_queue *nvmeq, unsigned int tag) { struct pci_dev *pdev = to_pci_dev(nvmeq->dev->dev); u16 start, end; int found; /* * For a poll queue we need to protect against the polling thread * using the CQ lock. For normal interrupt driven threads we have * to disable the interrupt to avoid racing with it. */ if (test_bit(NVMEQ_POLLED, &nvmeq->flags)) { spin_lock(&nvmeq->cq_poll_lock); found = nvme_process_cq(nvmeq, &start, &end, tag); spin_unlock(&nvmeq->cq_poll_lock); } else { disable_irq(pci_irq_vector(pdev, nvmeq->cq_vector)); found = nvme_process_cq(nvmeq, &start, &end, tag); enable_irq(pci_irq_vector(pdev, nvmeq->cq_vector)); } nvme_complete_cqes(nvmeq, start, end); return found; } -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1161867 http://bugzilla.opensuse.org/show_bug.cgi?id=1161867#c4 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(bwiedemann@suse.c | |om) | --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> --- Created attachment 829172 --> http://bugzilla.opensuse.org/attachment.cgi?id=829172&action=edit kernel-default-5.5.1 journal 5.5.1 only shows the first warning trace during shutdown, then needs manual power off, but manages to correctly resume without the 2nd backtrace. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com