Page MenuHomeFreeBSD

hdac: Defer interrupt allocation in hdac_attach()
ClosedPublic

Authored by markj on Sep 16 2023, 9:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 26, 1:23 PM
Unknown Object (File)
Sat, Jul 18, 1:50 PM
Unknown Object (File)
Fri, Jul 17, 6:24 AM
Unknown Object (File)
Jun 26 2026, 11:06 PM
Unknown Object (File)
Jun 25 2026, 9:49 AM
Unknown Object (File)
Jun 25 2026, 1:15 AM
Unknown Object (File)
Jun 24 2026, 8:14 AM
Unknown Object (File)
May 13 2026, 7:41 PM
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 Not Applicable
Unit
Tests Not Applicable