Re: [PATCH v4 00/16] rust: io: support register projections and remove relative registers
From: Alexandre Courbot
Date: Thu Sep 03 2026 - 09:20:15 EST
On Wed Sep 2, 2026 at 1:50 AM JST, Gary Guo wrote:
> Currently registers work for all untyped I/O regions, which is not ideal.
> It allows registers defined for device A to work for another device B and
> there is no safeguarding at all.
>
> Change this by requiring a base type for registers. `register!` can still
> define registers on untyped `Region`s, although users would need to do so
> explicitly and supply a concrete type.
Thanks, this has come together really nicely imho.
I did a quick patch-by-patch build and tested the top of the series with
Nova, which happily booted. Thus for all patches except patch 8 which I
couldn't test, feel free to add my
Tested-by: Alexandre Courbot <acourbot@xxxxxxxxxx>