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

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Sep 2023 12:37:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268393

--- Comment #80 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=015daf5221f7588b9258fe0242cee09bde39fe21

commit 015daf5221f7588b9258fe0242cee09bde39fe21
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-09-27 12:23:58 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-09-27 12:28:27 +0000

    hdac: Defer interrupt allocation in hdac_attach()

    hdac_attach() registers an interrupt handler before allocating various
    driver resources which are accessed by the interrupt handler.  On some
    platforms we observe what appear to be spurious interrupts upon a cold
    boot, resulting in panics.

    Partially work around the problem by deferring irq allocation until
    after other resources are allocated.  I think this is not a complete
    solution, but is correct and sufficient to work around the problems
    reported in the PR.

    PR:             268393
    Tested by:      Alexander Sherikov <asherikov@yandex.com>
    Tested by:      Oleh Hushchenkov <o.hushchenkov@gmail.com>
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D41883

 sys/dev/sound/pci/hda/hdac.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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