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, May 26, 1:10 PM
Unknown Object (File)
Mon, May 13, 6:18 PM
Unknown Object (File)
Feb 4 2024, 10:10 AM
Unknown Object (File)
Jan 5 2024, 4:42 PM
Unknown Object (File)
Dec 24 2023, 10:03 PM
Unknown Object (File)
Dec 12 2023, 2:52 PM
Unknown Object (File)
Nov 2 2023, 7:50 AM
Unknown Object (File)
Sep 27 2023, 4:00 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