Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2020 21:54:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 250248] 12.2-RC2 kernel reboots with hw.acpi.debug=1 after a warm reboot.
Message-ID:  <bug-250248-12827-A0dqfCPNl0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250248-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250248-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250248

--- Comment #13 from Andriy Gapon <avg@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
!=3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250248-12827-A0dqfCPNl0>