Skip to content

Rust PCI housekeeping

Danilo Krummrich linux-pci lkml rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3rust: pci: implement TryInto<IrqRequest<'a>> for IrqVector<'a>rust/kernel/pci.rs+18 -205 replies
2/3rust: pci: move I/O infrastructure to separate filerust/kernel/pci.rs rust/kernel/pci/io.rs+145 -1294 replies
3/3rust: pci: move IRQ infrastructure to separate filerust/kernel/pci.rs rust/kernel/pci/irq.rs+247 -2331 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlice RyhlJoel Fernandes
1/3R-b R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Rust PCI housekeeping

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

Signature · 1 line
2.51.0