[Bug 250248] 12.2-RC2 kernel reboots with hw.acpi.debug=1 after a warm reboot.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 13 21:54:29 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250248

--- Comment #13 from Andriy Gapon <avg at FreeBSD.org> ---
(In reply to Alexander Motin from comment #12)
I believe that the problem with too early unsolicited notifications is that dev
can be not NULL but it is not attached yet (meaning that there are no driver
methods).  bus_generic_attach() is called after the codec discovery loop.

So, an alternative solution could be for hdac_unsolq_flush() to check both dev
!= NULL and device_is_attached(dev).
Still could be somewhat racy.

Regarding the shutdown method -- yes, there is no need to detach HDA driver
during shutdown.
At the same time, there is no need to keep it attached too.
So, I am ambivalent about that.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-multimedia mailing list