[Bug 268393] system always reboots once from a powered off state

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Sep 2023 17:31:12 UTC

--- Comment #69 from Oleh Hushchenkov <o.hushchenkov@gmail.com> ---
(In reply to Mark Johnston from comment #68)
Just moved hdac_irq_alloc() call in hdac_attach() to be after the
hdac_rirb_init() call and rebuilt the kernel.

It fixed the issue for me.

Now I'm wondering which patch should I use?
1. Removing "intsts != 0xffffffff" from "while (intsts != 0xffffffff && (intsts
& HDAC_INTSTS_GIS) != 0)" in "hdac_intr_handler()".
2. Adding "rirb_base == NULL" and "rirb == NULL" checks in "hdac_rirb_flush()".
3. Moving "hdac_irq_alloc()" to be after "hdac_rirb_init()" in "hdac_attach()".

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