HomeFreeBSD

Add support for SPI-mapped MSI interrupts in GICv3.

Description

Add support for SPI-mapped MSI interrupts in GICv3.

PIC_SETUP_INTR implementation in GICv3 did not allow
for setting up interrupts without included FDT
description. GICv2m-like MSI interrupts, which map
MSI messages to SPI interrupt lines, may not have
a description in FDT. Add support for such interrupts
by setting the trigger and polarity to the appropriate
values for MSI (edge, high) and get the hardware
IRQ number from the corresponding ISRC.

Obtained from: Semihalf
Submitted by: Michal Stanek <mst@semihalf.com>
Sponsored by: Annapurna Labs
Reviewed by: wma
Differential Revision: https://reviews.freebsd.org/D7662

Details

Provenance
wmaAuthored on
Reviewer
wma
Differential Revision
D7662: Add support for SPI-mapped MSI interrupts in GICv3
Parents
rS306068: Register GICv3 xref.
Branches
Unknown
Tags
Unknown