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)
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
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
1442–1443 ↗(On Diff #23899)

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.