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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 21 Mar 2023 16:45:27 UTC

--- Comment #27 from John Grafton <john.grafton@runbox.com> ---
Created attachment 241040
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241040&action=edit
lock hdac during init

I have a theory that an interrupt is being triggered before the dma memory is
allocated correctly for hdac2.  I've included a patch that locks the hdac
driver initialization sequence which should block any interrupts (that call
hdac_rirb_flush) before the initialization completes.

This patch is just for testing.  You should see some WITNESS debugger
complaints about bouncing off the lock. If the system actually boots and
doesn't crash, will you send the dmesg?

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