| From: |
| Danilo Krummrich <dakr-AT-kernel.org> |
| To: |
| bhelgaas-AT-google.com, kwilczynski-AT-kernel.org, ojeda-AT-kernel.org, alex.gaynor-AT-gmail.com, boqun.feng-AT-gmail.com, gary-AT-garyguo.net, bjorn3_gh-AT-protonmail.com, lossin-AT-kernel.org, a.hindborg-AT-kernel.org, aliceryhl-AT-google.com, tmgross-AT-umich.edu |
| Subject: |
| [PATCH 0/3] Rust PCI housekeeping |
| Date: |
| Wed, 15 Oct 2025 20:14:28 +0200 |
| Message-ID: |
| <20251015182118.106604-1-dakr@kernel.org> |
| Cc: |
| rust-for-linux-AT-vger.kernel.org, linux-pci-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Danilo Krummrich <dakr-AT-kernel.org> |
| Archive-link: |
| Article |
Some minor housekeeping:
- Implement TryInto<IrqRequest<'a>> for IrqVector<'a> to directly convert a
pci::IrqVector into a generic IrqRequest, instead of taking the indirection
via an unrelated pci::Device method.
- Besides that, move I/O and IRQ specific code into separate sub-modules to keep
things organized.
Danilo Krummrich (3):
rust: pci: implement TryInto<IrqRequest<'a>> for IrqVector<'a>
rust: pci: move I/O infrastructure to separate file
rust: pci: move IRQ infrastructure to separate file
rust/kernel/pci.rs | 365 +----------------------------------------
rust/kernel/pci/io.rs | 141 ++++++++++++++++
rust/kernel/pci/irq.rs | 244 +++++++++++++++++++++++++++
3 files changed, 389 insertions(+), 361 deletions(-)
create mode 100644 rust/kernel/pci/io.rs
create mode 100644 rust/kernel/pci/irq.rs
base-commit: 340ccc973544a6e7e331729bc4944603085cafab
--
2.51.0