]> git.ipfire.org Git - thirdparty/linux.git/commit
rust: pci: Allocate and manage PCI interrupt vectors
authorJoel Fernandes <joelagnelf@nvidia.com>
Wed, 8 Oct 2025 19:07:26 +0000 (15:07 -0400)
committerDanilo Krummrich <dakr@kernel.org>
Wed, 15 Oct 2025 12:19:53 +0000 (14:19 +0200)
commit340ccc973544a6e7e331729bc4944603085cafab
treea44d5d09cabf728fbe6e2a281c05dfa4c64dde1d
parent3a8660878839faadb4f1a6dd72c3179c1df56787
rust: pci: Allocate and manage PCI interrupt vectors

Add support to PCI rust module to allocate, free and manage IRQ vectors.
Integrate with devres for managing the allocated resources.

Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>
[ Add links in doc-comments; add missing invariant comment; re-format
  multiple safety requirements as list and fix missing backticks;
  refactor the example of alloc_irq_vectors() to compile. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
rust/kernel/pci.rs