rust/kernel: Add bindings for manually creating devices
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust/kernel: Add platform::Device::from_raw()rust/ | +16 | 1 reply | |
| 2/2 | rust/kernel: Add platform::ModuleDevicerust/ | +94 | 29 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Maíra Canal |
|---|---|
| 1/2 | |
| 2/2 | Co-authored-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] rust/kernel: Add bindings for manually creating devices
As many of you are probably aware, there's a number of kernel modules in the Linux kernel that don't actually probe a device on a bus - but instead simply create a virtual platform device. One such example is the virmidi driver (sound/drivers/virmidi.c) These patches add the ability to do this with our current platform device bindings for rust.
The main usecase for this is the WIP driver, rvkms:
https://patchwork.freedesktop.org/series/131522/
Lyude Paul (2):
rust/kernel: Add platform::Device::from_raw()
rust/kernel: Add platform::ModuleDevice
rust/kernel/platform.rs | 111 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 2 deletions(-)
base-commit: b323d8e7bc03d27dec646bfdccb7d1a92411f189
Signature · 1 line
2.47.1