Page MenuHomeFreeBSD

Add a gic interface to allocate MSI interrupts
ClosedPublic

Authored by andrew on Sep 29 2021, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 7, 11:49 PM
Unknown Object (File)
Dec 6 2024, 9:09 PM
Unknown Object (File)
Nov 28 2024, 10:14 PM
Unknown Object (File)
Nov 27 2024, 6:14 AM
Unknown Object (File)
Nov 21 2024, 2:29 PM
Unknown Object (File)
Nov 21 2024, 11:48 AM
Unknown Object (File)
Nov 18 2024, 11:23 PM
Unknown Object (File)
Nov 18 2024, 3:31 PM

Details

Summary

The previous update to handle the gicv2m as a child of the gicv3 driver
assumed there was only a single gicv2m child. On some hardware there
are multiple children. Support this by removing the mbi ivars and
adding a new interface to handle MSI allocation in a given range.

Test Plan

Tested on:

  • Parallels with GICv2 & GICv3 + GICv2M
  • VMWare Fusion with a GICv3 with MBI

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrtc27 added inline comments.
sys/arm/arm/gic.c
1016–1017

I don't think these underscores really achieve much other than making it look a bit weird.

sys/arm/arm/gic.c
1016–1017

I just forgot to remove them when from when I also had both the old copy & this copy of the function.

This appears to fix kern/258534 for me, thanks :)

Tested on CN913x-DB, thanks!

This revision was not accepted when it landed; it landed in state Needs Review.Oct 1 2021, 10:28 AM
This revision was automatically updated to reflect the committed changes.