Page MenuHomeFreeBSD

hdac: Defer interrupt allocation in hdac_attach()
ClosedPublic

Authored by markj on Sep 16 2023, 9:45 AM.
Tags
None
Referenced Files
F142421202: D41883.id127449.diff
Mon, Jan 19, 8:10 PM
Unknown Object (File)
Sun, Jan 18, 11:11 AM
Unknown Object (File)
Sat, Jan 3, 5:30 PM
Unknown Object (File)
Fri, Jan 2, 11:30 AM
Unknown Object (File)
Sun, Dec 28, 11:25 PM
Unknown Object (File)
Fri, Dec 26, 3:02 AM
Unknown Object (File)
Mon, Dec 22, 11:22 PM
Unknown Object (File)
Dec 17 2025, 7:29 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 53612
Build 50503: arc lint + arc unit