Bjorn Helgaas
2025-Oct-03 17:33 UTC
[PATCH v2] rust: pci: Allocate and manage PCI interrupt vectors
On Thu, Oct 02, 2025 at 02:39:12PM -0400, Joel Fernandes wrote:> Add support to PCI rust module to allocate, free and manage IRQ vectors. > Integrate with devres for managing the allocated resources.> +/// IRQ type flags for PCI interrupt allocation. > +#[derive(Debug, Clone, Copy)] > +pub enum IrqType { > + /// Legacy INTx interrupts > + Legacy,FWIW, when I can, I try to use "INTx" instead of "legacy" because "INTx" has a specific meaning and is used in the PCIe specs, while "legacy" by itself has no intrinsic meaning.> + /// Message Signaled Interrupts (MSI) > + Msi, > + /// Extended Message Signaled Interrupts (MSI-X) > + MsiX, > +}