Bug 205333
Summary: | Shutdown and reboot do not work since commit "ALSA: hda: Flush interrupts on disabling" | ||
---|---|---|---|
Product: | Drivers | Reporter: | Jonas Witschel (account+kernel) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | RESOLVED CODE_FIX | ||
Severity: | normal | CC: | tiwai |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 5.3.4 | Subsystem: | |
Regression: | Yes | Bisected commit-id: |
Description
Jonas Witschel
2019-10-27 23:17:08 UTC
The culprit appears to be the added synchronize_irq(bus->irq) in sound/hda/hdac_controller.c, removing it restores the normal behaviour. The reordering of azx_stop_chip(chip) in sound/pci/hda/hda_intel.c does not necessarily need to be reverted, at least it does not seem to have any negative effect on my system. Thanks for the report and the analysis. I think the whole commit is bogus, even the azx_stop_chip() calls looks suspicious although it didn't break much, so far. (If any, we should reorder the call sequence there.) I'm going to revert the commit. The revert was included in kernel 5.4-rc6 (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1a7f60b9df614bb36d14dc0c0bc898a31b2b506f) and backported to 4.4.199, 4.9.199, 4.14.152, 4.19.82 and 5.3.9. I tested version 5.3.9 on my system and confirm that shutdown and reboot work as expected once again. Thank you for your quick fix! |