RFC Rust device / driver abstractions
Get series with b4
b4 am [email protected]Versions newest first
- v7 RFC Latest1 of 8 patches 7 repliesIn review
1 of 8 patches is in this archive. The cover letter announces 8.
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | arch: x86: tools: increase symbol name sizearch/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 0/8] [RFC] Rust device / driver abstractions
Hi,
This patch series provides some initial Rust abstractions around the device / driver model, including an abstraction for device private data.
This patch series is sent in the context of [1] and is also available at [2].
- Danilo
[1] https://lore.kernel.org/dri-devel/Zfsj0_tb-0-tNrJy@cassiopeiae/T/#u
[2] https://github.com/Rust-for-Linux/linux/tree/staging/rust-device
Danilo Krummrich (1):
arch: x86: tools: increase symbol name size
Wedson Almeida Filho (7):
rust: device: Add a minimal RawDevice trait
rust: device: Add a stub abstraction for devices
rust: add driver abstraction
rust: add rcu abstraction
rust: add revocable mutex
rust: add revocable objects
rust: add device::Data
arch/x86/tools/insn_decoder_test.c | 2 +- rust/bindings/bindings_helper.h | 1 + rust/helpers.c | 28 ++ rust/kernel/device.rs | 215 +++++++++++++ rust/kernel/driver.rs | 493 +++++++++++++++++++++++++++++ rust/kernel/lib.rs | 6 +- rust/kernel/revocable.rs | 438 +++++++++++++++++++++++++ rust/kernel/sync.rs | 3 + rust/kernel/sync/rcu.rs | 52 +++ rust/kernel/sync/revocable.rs | 98 ++++++ rust/macros/module.rs | 2 +- samples/rust/rust_minimal.rs | 2 +- samples/rust/rust_print.rs | 2 +- 13 files changed, 1337 insertions(+), 5 deletions(-) create mode 100644 rust/kernel/device.rs create mode 100644 rust/kernel/driver.rs create mode 100644 rust/kernel/revocable.rs create mode 100644 rust/kernel/sync/rcu.rs create mode 100644 rust/kernel/sync/revocable.rs
base-commit: e8f897f4afef0031fe618a8e94127a0934896aba
Signature · 1 line
2.44.0