rust: Initial MIPS support
Get series with b4
b4 am [email protected] change-id 20240903-mips-rust-fa8efd836ce9Versions newest first
- v2 Latest3 patches 8 repliesIn review
- v13 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- Address review comments on wording & style (See individual commit messages)
- Add microMIPS support
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | rust: Introduce HAVE_GENERATE_RUST_TARGET config optionMakefile arch/ arch/ +4 more | +14 | 2 replies | |
| 2/3 | MIPS: Rename mips_instruction type to workaround bindgen issuearch/ arch/ arch/ +3 more | +19 | 0 replies | |
| 3/3 | rust: Enable for MIPSDocumentation/ Documentation/ arch/ +1 more | +72 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] rust: Initial MIPS support
Hi Folks,
This series added MIPS arch support to rust for linux, hopefully MIPS is not too late to the party :-)
Sample rust module tested on R4000(el),mips32,mips32r2el,mips64, mips64r2el,mips64r6el.
Please review.
Thanks
---
Changes in v2:
- Address review comments on wording & style (See individual commit messages)
- Add microMIPS support
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Jiaxun Yang (3):
rust: Introduce HAVE_GENERATE_RUST_TARGET config option
MIPS: Rename mips_instruction type to workaround bindgen issue
rust: Enable for MIPS
Documentation/rust/arch-support.rst | 1 + .../translations/zh_CN/rust/arch-support.rst | 1 + Makefile | 3 + arch/Kconfig | 8 +++ arch/mips/Kconfig | 2 + arch/mips/include/asm/dsemul.h | 2 +- arch/mips/include/asm/inst.h | 6 +- arch/mips/kernel/ftrace.c | 2 +- arch/mips/kernel/kprobes.c | 2 +- arch/mips/math-emu/cp1emu.c | 18 +++--- arch/mips/math-emu/dsemul.c | 8 +-- arch/um/Kconfig | 1 + arch/x86/Makefile | 1 - arch/x86/Makefile.um | 1 - rust/Makefile | 2 +- scripts/Makefile | 4 +- scripts/generate_rust_target.rs | 68 ++++++++++++++++++++++ 17 files changed, 105 insertions(+), 25 deletions(-)
---
base-commit: 469f1bad3c1c6e268059f78c0eec7e9552b3894c
change-id: 20240903-mips-rust-fa8efd836ce9
Best regards,
Signature · 1 line
Jiaxun Yang <[email protected]>