Re: [PATCH v9 00/10] rust: add `register!` macro
From: Danilo Krummrich
Date: Sat Mar 14 2026 - 20:57:27 EST
On Sat Mar 14, 2026 at 2:06 AM CET, Alexandre Courbot wrote:
I've now picked this up in the topic/io topic branch [1]; it will soon be merged
into driver-core-next and drm-rust-next, thanks!
> Alexandre Courbot (10):
> rust: enable the `generic_arg_infer` feature
> rust: num: add `shr` and `shl` methods to `Bounded`
> rust: num: add `into_bool` method to `Bounded`
> rust: num: make Bounded::get const
> rust: io: add IoLoc type and generic I/O accessors
[ Fix incorrect reference to io_addr_assert() in try_update(). - Danilo ]
> rust: io: use generic read/write accessors for primitive accesses
[ Slightly improve wording in doc-comment. - Danilo ]
> rust: io: add `register!` macro
[ * Improve wording and formatting of doc-comments,
* Import build_assert!(),
* Add missing inline annotations,
* Call static_assert!() with absolute path,
* Use expect instead of allow.
- Danilo ]
> rust: io: introduce `write_reg` and `LocatedRegister`
[ Replace FIFO with VERSION register in the examples. - Danilo ]
> sample: rust: pci: use `register!` macro
[ Fix up kernel import style. - Danilo ]
[1] https://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git/log/?h=topic/io