Page MenuHomeFreeBSD

acpi: Handle multiple interrupts
ClosedPublic

Authored by andrew on Nov 8 2024, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 18, 1:11 PM
Unknown Object (File)
Sat, Oct 18, 4:07 AM
Unknown Object (File)
Tue, Oct 14, 3:01 AM
Unknown Object (File)
Sep 21 2025, 1:49 AM
Unknown Object (File)
Sep 18 2025, 5:07 PM
Unknown Object (File)
Sep 17 2025, 7:05 AM
Unknown Object (File)
Sep 15 2025, 10:37 PM
Unknown Object (File)
Sep 13 2025, 8:14 AM
Subscribers
None

Details

Summary

When multiple IRQs are specified in a single resource then we only
check the first. Change this to check all interrupts for the value
we expect to find.

Without this we may still enable the interrupt, but it can have the
wrong polatiry or trigger. This can cause an interrupt storm if the
interrupt was configured with a level trigger when it should have
been an edge.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew requested review of this revision.Nov 8 2024, 4:29 PM
andrew created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Nov 19 2024, 5:48 PM
This revision was automatically updated to reflect the committed changes.