Page MenuHomeFreeBSD

acpi: Handle multiple interrupts
ClosedPublic

Authored by andrew on Nov 8 2024, 4:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 17, 5:45 AM
Unknown Object (File)
Mar 1 2025, 6:35 PM
Unknown Object (File)
Feb 23 2025, 6:19 PM
Unknown Object (File)
Feb 6 2025, 8:23 PM
Unknown Object (File)
Jan 14 2025, 1:17 PM
Unknown Object (File)
Jan 14 2025, 5:53 AM
Unknown Object (File)
Jan 6 2025, 11:43 AM
Unknown Object (File)
Jan 6 2025, 9:58 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.