Re: [PATCH v6 0/5] Introduce bitfield and move register macro to rust/kernel/
From: Greg KH
Date: Wed Oct 08 2025 - 06:47:29 EST
On Wed, Oct 08, 2025 at 12:23:40PM +0200, Danilo Krummrich wrote:
> On Wed Oct 8, 2025 at 1:37 AM CEST, Joel Fernandes wrote:
> > The Nvidia GPU architecture is little-endian (including MMU structures in VRAM).
>
> Yes, I'm aware (and I'd assume that there is no reason to ever change that).
>
> Just for the complete picture, there's also some endianness switch in the
> NV_PMC_BOOT_1 register I think?
>
> > All the CPU architectures our drivers support are expected to be little-endian.
>
> Technically, all Rust supported architectures are indeed little-endian.
s390x is supported by rust as a tier2 output:
https://doc.rust-lang.org/beta/rustc/platform-support/s390x-unknown-linux-gnu.html
so there really shouldn't be any reason why that platform couldn't add
rust support today, right?
thanks,
greg k-h