public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* rust: net: phy: intent for MAE0621A (out-of-tree C -> Rust), request for target guidance
@ 2026-04-15  9:59 wenzhaoliao
  2026-04-15 13:20 ` Andrew Lunn
  2026-04-15 14:18 ` wenzhaoliao
  0 siblings, 2 replies; 6+ messages in thread
From: wenzhaoliao @ 2026-04-15  9:59 UTC (permalink / raw)
  To: andrew, hkallweit1, fujita.tomonori
  Cc: linux, tmgross, ojeda, netdev, rust-for-linux


Hello PHY and Rust maintainers,


I am a PhD student working on a C-to-Rust migration tool for systems code.
We would like to validate it in Linux with one concrete PHY target and would
like to confirm direction before posting a larger RFC series.


Scope of this intent:
- Initial target: MAE0621A (currently out-of-tree C driver).
- We do NOT intend to submit a duplicate Rust rewrite of an existing in-tree C PHY driver.
- Goal: evaluate a semi-automatic abstraction completion workflow:
  reuse existing Rust PHY abstractions where possible, and add only minimal missing abstractions.


Planned deliverables:
- A gap analysis between MAE0621A C callbacks and current rust/kernel/net/phy.rs coverage.
- A small RFC patch series with minimal abstraction additions (if needed).
- A MAE0621A Rust driver prototype on top of those abstractions for linux-next/rust-next evaluation.


Quality and process commitments:
- Full human review by submitters; we can explain all submitted code.
- Transparent disclosure of tool assistance in cover letters/changelogs.
- Hardware-backed test results and explicit limitations in each posting.


Questions:
1. Is MAE0621A an acceptable first target for this direction?
2. If MAE0621A is not suitable, could you recommend one or two better out-of-tree PHY drivers for a first Rust submission?
3. For review flow, do you prefer:
   (a) abstractions-first RFC, then driver, or
   (b) minimal abstractions + concrete driver in one RFC series?


If there are no objections, we plan to post an RFC 0/N in about 2 weeks.


Thanks for your guidance.


Best regards,
Liao Wenzhao
Renmin University of China


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-04-15 15:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15  9:59 rust: net: phy: intent for MAE0621A (out-of-tree C -> Rust), request for target guidance wenzhaoliao
2026-04-15 13:20 ` Andrew Lunn
2026-04-15 14:18 ` wenzhaoliao
2026-04-15 14:53   ` rust: " Andrew Lunn
2026-04-15 15:01     ` wenzhaoliao
2026-04-15 15:30       ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox