Re: [PATCH v4 00/16] rust: io: support register projections and remove relative registers

From: Danilo Krummrich

Date: Thu Sep 03 2026 - 15:35:11 EST


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

[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 ]

[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.