HomeFreeBSD

acpi: Handle multiple interrupts

Description

acpi: Handle multiple interrupts

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.

PR: 282241
Reported by: trasz
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D47487

Details

Provenance
andrewAuthored on Nov 18 2024, 3:29 PM
Differential Revision
D47487: acpi: Handle multiple interrupts
Parents
rGc2dd2be344fb: dpaa2: Fix kernel built with ACPI_DEBUG
Branches
Unknown
Tags
Unknown