]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a gic interface to allocate MSI interrupts
authorAndrew Turner <andrew@FreeBSD.org>
Wed, 29 Sep 2021 13:33:18 +0000 (14:33 +0100)
committerAndrew Turner <andrew@FreeBSD.org>
Fri, 1 Oct 2021 10:27:33 +0000 (11:27 +0100)
commit18c2139495401bcc6d0fbc0119daf2103327c3a4
tree327dc6686fa090dbb1138d37c44f777053a272bf
parent3d2533f5c29fbf6e63c5e408ba13c2294a7612fd
Add a gic interface to allocate MSI interrupts

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.

Tested by: mw, trasz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32224
sys/arm/arm/gic.c
sys/arm/arm/gic.h
sys/arm/arm/gic_common.h
sys/arm/arm/gic_if.m [new file with mode: 0644]
sys/arm64/arm64/gic_v3.c
sys/conf/files.arm
sys/conf/files.arm64