Page MenuHomeFreeBSD

Fix MSI IRQ allocation for ARM GIC
ClosedPublic

Authored by gonzo on Jan 11 2017, 7:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 3:23 PM
Unknown Object (File)
Mon, Dec 16, 3:56 AM
Unknown Object (File)
Sat, Dec 14, 1:58 AM
Unknown Object (File)
Fri, Nov 29, 4:37 AM
Unknown Object (File)
Sat, Nov 23, 8:55 PM
Unknown Object (File)
Oct 10 2024, 4:50 PM
Unknown Object (File)
Oct 10 2024, 4:49 PM
Unknown Object (File)
Oct 10 2024, 4:49 PM
Subscribers

Details

Summary

Code used wrong vartiable to check flags, irq does not change so only first IRQ is checked

Diff Detail

Event Timeline

gonzo retitled this revision from to Fix MSI IRQ allocation for ARM GIC.
gonzo updated this object.
gonzo edited the test plan for this revision. (Show Details)
gonzo added a reviewer: andrew.
sys/arm/arm/gic.c
1444–1445

I think this assert will be hit when the allocation doesn't fit as sc->sc_spi_end isn't a MSI/MSI-X irq.

Overcome by events: fixed by r317428

Are the irq -> end_irq changes still relevant? They appear so.

Yeah, overlooked end_irq part, reopening

Sync patch to the latest HEAD version

This revision is now accepted and ready to land.Jun 22 2017, 3:55 PM
This revision was automatically updated to reflect the committed changes.