How can I get involved?
Hi there!
I'm new here, but would really like to get into the R4L and contributing to the kernel. Here are some of the questions I have so far:
1. What is the main fork for this project? Is it [ojeda/linux.git]? Does it mean that all R4L patches first get merged there and then go into the [torvalds/linux.git]? I assume [next/linux-next.git] is not something I need to worry for now?
2. What is the current status of R4L? I see that the project is marked as experimental and there are no in-tree drivers or modules yet. I've also seen a [template] for creating an out-of-tree module. Does that mean that it is already possible to create some sort of driver/module in Rust?
3. How can I get involved (besides reviewing patches; I am already subscribed to this list and reading some of them, but I don't feel confident enough yet to comment)? I am fairly confident in my Rust skills, but have little to no practical experience doing anything in the kernel (except maybe configuring and compiling it a few times).
There is [this] thread I've created about (supposedly) missing driver for my Xiaomi RedmiBook Pro 16 laptop. Do you think it would be feasible to implement it in Rust? Though, I assume it wouldn't be possible to mainline it since R4L is still experimental, right?
[ojeda/linux.git]: https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git/
[torvalds/linux.git]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
[next/linux-next.git]: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
[template]: https://github.com/Rust-for-Linux/rust-out-of-tree-module
[this]: https://lore.kernel.org/linux-acpi/[email protected]/
Thanks!
Signature · 1 line
Nikita Krasnov
Quoted 3 lines · Nikita Krasnov
I'm new here, but would really like to get into the R4L and contributing to the kernel. Here are some of the questions I have so far:
Great, welcome!
Quoted 4 lines
1. What is the main fork for this project? Is it [ojeda/linux.git]? Does it mean that all R4L patches first get merged there and then go into the [torvalds/linux.git]? I assume [next/linux-next.git] is not something I need to worry for now?
For this, please see:
https://rust-for-linux.com/branches
https://rust-for-linux.com/contributing#the-kernel-development-process
That and the links in those should give you a feeling of how development usually works. Please feel free to ask for details/help in e.g. Zulip.
Quoted 2 lines
2. What is the current status of R4L? I see that the project is marked as experimental and there are no in-tree drivers or modules yet. I've also seen
We have in-tree drivers and modules. Please see the left bar at the website ("Users — in mainline"):
Quoted 2 lines
a [template] for creating an out-of-tree module. Does that mean that it is already possible to create some sort of driver/module in Rust?
It has been possible for years :) Essentially, since the project was started.
Of course, there are a lot of missing abstractions, so writing a driver typically requires developing and upstreaming the needed dependencies, interacting with the existing maintainers for that area, etc., which can easily be the biggest part of the work (depending on the case). For that, please see:
https://rust-for-linux.com/contributing#the-rust-subsystem
Quoted 5 lines
3. How can I get involved (besides reviewing patches; I am already subscribed to this list and reading some of them, but I don't feel confident enough yet to comment)? I am fairly confident in my Rust skills, but have little to no practical experience doing anything in the kernel (except maybe configuring and compiling it a few times).
I typically recommend reviewing/testing, because that gets you exposed to different code, APIs, subsystems, the people behind them, etc., and more eyes looking at things are always good to have. So please feel free to comment and give tags (like "Reviewed-by" and so on). You can see what the tags mean at e.g.
https://docs.kernel.org/process/submitting-patches.html#reviewer-s-statement-of-oversight
There are some other ideas on how to contribute at:
https://rust-for-linux.com/contributing
Quoted 4 lines
There is [this] thread I've created about (supposedly) missing driver for my Xiaomi RedmiBook Pro 16 laptop. Do you think it would be feasible to implement it in Rust? Though, I assume it wouldn't be possible to mainline it since R4L is still experimental, right?
It is definitely possible to mainline new hardware support -- in fact, that is the easiest case to justify.
I hope that helps and, again, welcome!
By the way, for general questions etc., we recommend our Zulip -- the mailing list is mainly used for development/patches:
https://rust-for-linux.com/contact
Cheers,
Miguel
Quoted 2 lines · Miguel Ojeda
I just updated that subpage and rearranged it a bit, since quite a few things happened since last time, with some links too.
I hope that helps!
Cheers,
Miguel