Page MenuHomeFreeBSD

acpi: Handle multiple interrupts
ClosedPublic

Authored by andrew on Nov 8 2024, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 5:59 PM
Unknown Object (File)
Thu, Nov 28, 7:19 PM
Unknown Object (File)
Nov 14 2024, 10:00 PM
Unknown Object (File)
Nov 11 2024, 10:33 PM
Unknown Object (File)
Nov 11 2024, 12:32 AM
Unknown Object (File)
Nov 9 2024, 2:37 PM
Unknown Object (File)
Nov 9 2024, 6:00 AM
Unknown Object (File)
Nov 9 2024, 5:46 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 60450
Build 57334: arc lint + arc unit

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.