[PATCH 0/3] Rust PCI housekeeping

Danilo Krummrich posted 3 patches 2 months ago
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
[PATCH 0/3] Rust PCI housekeeping
Posted by Danilo Krummrich 2 months ago
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
Re: [PATCH 0/3] Rust PCI housekeeping
Posted by Danilo Krummrich 2 months ago
On Wed Oct 15, 2025 at 8:14 PM CEST, Danilo Krummrich wrote:
> 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

Applied to driver-core-testing, thanks!