[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251015182118.106604-1-dakr@kernel.org>
Date: Wed, 15 Oct 2025 20:14:28 +0200
From: Danilo Krummrich <dakr@...nel.org>
To: bhelgaas@...gle.com,
kwilczynski@...nel.org,
ojeda@...nel.org,
alex.gaynor@...il.com,
boqun.feng@...il.com,
gary@...yguo.net,
bjorn3_gh@...tonmail.com,
lossin@...nel.org,
a.hindborg@...nel.org,
aliceryhl@...gle.com,
tmgross@...ch.edu
Cc: rust-for-linux@...r.kernel.org,
linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
Danilo Krummrich <dakr@...nel.org>
Subject: [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
--
2.51.0
Powered by blists - more mailing lists