HomeFreeBSD

Introduce MSI and MSI-X support to intrng. This adds a new msi device

Description

Introduce MSI and MSI-X support to intrng. This adds a new msi device
interface with 5 methods to mirror the 5 MSI/MSI-X methods in the pcib
interface. The pcib driver will need to perform a device specific lookup
to find the MSI controller and pass this to intrng as the xref. Intrng
will finally find the controller and have it handle the requested operation.

Obtained from: ABT Systems Ltd
MFH: yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5985

Details

Provenance
andrewAuthored on
Differential Revision
D5985: Add MSI/MSI-X support to intrng
Parents
rS299927: hyperv/vmbus: Use atomic_testandclear
Branches
Unknown
Tags
Unknown

Event Timeline

cyprien.laplace_gmail.com added inline comments.
/head/sys/arm/arm/gic.c
583

Hi, I believe this must be <=

If the MSI range is at the very end of the SPI, you will get start + count == nirqs.