[PATCH v6 0/2] Initial work for Rust abstraction for HID device driver development

Rahul Rameshbabu posted 2 patches 1 month, 3 weeks ago
There is a newer version of this series
MAINTAINERS                           |  14 +
drivers/hid/Kconfig                   |   2 +
drivers/hid/Makefile                  |   2 +
drivers/hid/hid-glorious.c            |   2 +
drivers/hid/hid_glorious_rust.rs      |  60 +++
drivers/hid/rust/Kconfig              |  28 ++
drivers/hid/rust/Makefile             |   6 +
drivers/hid/rust/hid_glorious_rust.rs |  60 +++
rust/bindings/bindings_helper.h       |   3 +
rust/kernel/hid.rs                    | 530 ++++++++++++++++++++++++++
rust/kernel/lib.rs                    |   2 +
11 files changed, 709 insertions(+)
create mode 100644 drivers/hid/hid_glorious_rust.rs
create mode 100644 drivers/hid/rust/Kconfig
create mode 100644 drivers/hid/rust/Makefile
create mode 100644 drivers/hid/rust/hid_glorious_rust.rs
create mode 100644 rust/kernel/hid.rs
[PATCH v6 0/2] Initial work for Rust abstraction for HID device driver development
Posted by Rahul Rameshbabu 1 month, 3 weeks ago
Hi folks,

It has been a while since I last posted an updated. Had some big life changes
that have kept me from working on this more actively, so I have not been able to
get on top of this till now. Hoping my pace going forward should be a lot
faster. Using the conversation from LPC as well as other refactors needed, I
have rebased the series on top of rust-next. My next steps are to get RazerBlade
controls working with a Rust HID driver.

Link: https://youtu.be/c8JAZm-QinY
Link: https://lore.kernel.org/rust-for-linux/wjfjzjc626n55zvhksiyldobwubr2imbvfavqej333lvnka2wn@r4zfcjqtanvu/
Link: https://lore.kernel.org/rust-for-linux/175810473311.3076338.14309101339951114135.b4-ty@kernel.org/

Thanks,
Rahul Rameshbabu

Rahul Rameshbabu (2):
  rust: core abstractions for HID drivers
  rust: hid: Glorious PC Gaming Race Model O and O- mice reference
    driver

 MAINTAINERS                           |  14 +
 drivers/hid/Kconfig                   |   2 +
 drivers/hid/Makefile                  |   2 +
 drivers/hid/hid-glorious.c            |   2 +
 drivers/hid/hid_glorious_rust.rs      |  60 +++
 drivers/hid/rust/Kconfig              |  28 ++
 drivers/hid/rust/Makefile             |   6 +
 drivers/hid/rust/hid_glorious_rust.rs |  60 +++
 rust/bindings/bindings_helper.h       |   3 +
 rust/kernel/hid.rs                    | 530 ++++++++++++++++++++++++++
 rust/kernel/lib.rs                    |   2 +
 11 files changed, 709 insertions(+)
 create mode 100644 drivers/hid/hid_glorious_rust.rs
 create mode 100644 drivers/hid/rust/Kconfig
 create mode 100644 drivers/hid/rust/Makefile
 create mode 100644 drivers/hid/rust/hid_glorious_rust.rs
 create mode 100644 rust/kernel/hid.rs

-- 
2.52.0