Re: [PATCH] rust: io: Add a BigEndianMmio wrapper

From: Ethan Plant

Date: Wed Aug 05 2026 - 21:44:17 EST


On Thu, 06 Aug 2026 00:21:09 +0200, Link Mauve <linkmauve@xxxxxxxxxxxx> wrote:
> diff --git a/rust/kernel/io.rs b/rust/kernel/io.rs
> index a38c20ba3d23e..a91979e4392ab 100644
> --- a/rust/kernel/io.rs
> +++ b/rust/kernel/io.rs
> @@ -1751,3 +1751,87 @@ macro_rules! io_write {
> [ ... skip 17 lines ... ]
> + *self
> + }
> +}
> +
> +/// I/O Backend for memory-mapped I/O, with relaxed access semantics.
> +pub struct BigEndianMmioBackend;

I don't think this backend has relaxed access semantics; this looks like
it may have been left over from `RelaxedMmio`.

Perhaps:

/// I/O backend for memory-mapped I/O using big-endian accessors.

--
Ethan Plant <plant.ethan@xxxxxxxxx>