Page MenuHomeFreeBSD

acpi: Handle multiple interrupts
ClosedPublic

Authored by andrew on Fri, Nov 8, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 10:00 PM
Unknown Object (File)
Mon, Nov 11, 10:33 PM
Unknown Object (File)
Mon, Nov 11, 12:32 AM
Unknown Object (File)
Sat, Nov 9, 2:37 PM
Unknown Object (File)
Sat, Nov 9, 6:00 AM
Unknown Object (File)
Sat, Nov 9, 5:46 AM
Unknown Object (File)
Sat, Nov 9, 2:38 AM
Unknown Object (File)
Sat, Nov 9, 1:07 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.Fri, Nov 8, 4:29 PM
andrew created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Tue, Nov 19, 5:48 PM
This revision was automatically updated to reflect the committed changes.