Re: [PATCH v4 00/16] rust: io: support register projections and remove relative registers
From: Danilo Krummrich
Date: Thu Sep 03 2026 - 15:44:40 EST
On Thu Sep 3, 2026 at 9:22 PM CEST, Danilo Krummrich wrote:
> On Tue, 01 Sep 2026 17:50:24 +0100, Gary Guo wrote:
>> [PATCH v4 00/16] rust: io: support register projections and remove relative registers
>
> Applied, thanks!
>
> Branch: topic/rust-io
> Tree: git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
I've pushed this to a topic branch, so 0-day can already do its thing.
> [1/16] rust: io: register: reimplement as proc macro
> commit: 63b2578517df
>
> [ Fix typo in module-level doc comment and fix ArrayDef syntax
> description to match the actual macro syntax. - Danilo ]
>
> [2/16] rust: mem: add `transmute` with deferred size check
> commit: 82591c20bcb3
>
> [ Fix doc heading to use plural "Examples" and add missing closing code
> block delimiter. - Danilo ]
>
> [3/16] rust: mem: add `AsRepr` and `AsReprMut`
> commit: 968f30ade612
>
> [ Fix grammar in from_repr_unchecked() documentation and rephrase
> confusing safety comment. - Danilo ]
Miguel, Boqun: Please let me know if you are fine with the two
rust/kernel/mem.rs patches.
Thanks,
Danilo
>
> [4/16] rust: io: perform conversions using `AsRepr`
> commit: 1e707b76716a
> [5/16] rust: io: support register projections
> commit: 34b6dc471749
> [6/16] rust: io: register: allow explicit base type specification
> commit: 70a122d5a342
>
> [ Remove unnecessary #[allow(unused)] from the 'base' field. - Danilo ]
>
> [7/16] gpu: nova-core: specify base type for registers
> commit: a07fa2c979c1
> [8/16] drm/tyr: specify base type for registers
> commit: 573228e75c33
> [9/16] samples: rust: pci: specify base type for registers
> commit: 54b04b9fc0ea
> [10/16] rust: io: register: make register have a typed base
> commit: 35c21468c294
> [11/16] rust: io: register: support fixed offset register without bitfield
> commit: ddeaaa3a0fbb
> [12/16] gpu: nova-core: use projection for PFALCON and PFALCON2 registers
> commit: 6d5f14077811
> [13/16] gpu: nova-core: convert hshub0 from relative register to projection
> commit: 4a7a27bd1947
>
> [ Split nested import into kernel vertical style. - Danilo ]
>
> [14/16] rust: io: register: remove relative registers
> commit: b6af037d9499
> [15/16] rust: io: register: remove `Register` trait and cleanup macro
> commit: dfec6f41d053
> [16/16] rust: io: register: unify handling of register with/without bitfields
> commit: 35423e8fd718
>
> The patches are in the topic/rust-io topic branch and will be merged into the
> corresponding target branch soon.