Re: [PATCH v6 0/5] Introduce bitfield and move register macro to rust/kernel/

From: Edwin Peer

Date: Mon Oct 06 2025 - 14:05:15 EST


On Oct 3, 2025, at 8:47 AM, Joel Fernandes <joelagnelf@xxxxxxxxxx> wrote:

> Hello!
>
> These patches extract and enhance the bitfield support in the register macro in
> nova to define Rust structures with bitfields. It then moves out the bitfield
> support into the kenrel crate.
>
> Since v5, I dropped several patches and only kept the simple ones that do code
> movement, added a few features and added a KUNIT test. After Alex's bounded
> integer [1] support is in, we can rewrite the dropped patches.
>
> I also dropped the MAINTAINER entry for now, pending more clarity around that.
> I am happy to maintain it, but I need more input on who all will co-maintain,
> now that the last 4 patches were dropped. Perhaps we can maintain it was a part
> of the core rust-for-linux? I suggest let us create the maintainer entry once
> Alex's bounded integer support is integrated but I am open to suggestions.
>
> Here are the v5 patches [2].
>
> [1] https://lore.kernel.org/all/20251002-bounded_ints-v1-0-dd60f5804ea4@xxxxxxxxxx/
> [2] https://lore.kernel.org/all/20250930144537.3559207-1-joelagnelf@xxxxxxxxxx/

Reviewed-by: Edwin Peer <epeer@xxxxxxxxxx>

Regards,
Edwin Peer