From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AD4CECCA470 for ; Wed, 8 Oct 2025 10:50:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 472EA10E07C; Wed, 8 Oct 2025 10:50:03 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="MxXnHkfd"; dkim-atps=neutral Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id F156910E07C; Wed, 8 Oct 2025 10:50:01 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 17C9A612AE; Wed, 8 Oct 2025 10:50:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85B3FC4CEF4; Wed, 8 Oct 2025 10:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759920600; bh=2hOyFHWMo22nr714D5lkkesp5ykT8kzlR52ADooTRLI=; h=Date:Cc:To:From:Subject:References:In-Reply-To:From; b=MxXnHkfdijkCLancjr2NuW9oYgF7BJAy6t1DAo+J/7OidoL4rrxyYrNVfSKxu43m8 Pchq0UtjXyEXCUT979pTZrY+oZXbY2k/zS4HyP/voD4O5OedcL1lJRMX9ly60py9L+ l5Am9TRppBVyuiu2jIZj+PTFIIPYoPz4rReX3YSmSwl9XcQ6mkf/1Np6f3vzwA3qE7 2UiLI69Y5t34UsGq46JaUlzhWDiWpEOyIRVuHwXla88wRDzc3XibTAg/TagtStzJK2 FW8bD5lAM1gIDPXy/PyShhj5jDF4r6tY8qUhJb0i5tP3eVwQnI1QkvdQrvyK6bxphl rkPuiI88LQT1A== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 08 Oct 2025 12:49:54 +0200 Message-Id: Cc: "Joel Fernandes" , "Alexandre Courbot" , "Yury Norov" , "linux-kernel@vger.kernel.org" , "rust-for-linux@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , "Alistair Popple" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , "bjorn3_gh@protonmail.com" , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "David Airlie" , "Simona Vetter" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "John Hubbard" , "Timur Tabi" , "joel@joelfernandes.org" , "Elle Rhumsaa" , "Daniel Almeida" , "Andrea Righi" , "nouveau@lists.freedesktop.org" To: "Greg KH" From: "Danilo Krummrich" Subject: Re: [PATCH v6 0/5] Introduce bitfield and move register macro to rust/kernel/ References: <695CCDCE-A205-4557-AA15-6F102B8CCF0C@nvidia.com> <2025100808-unpadded-unsubtle-1053@gregkh> In-Reply-To: <2025100808-unpadded-unsubtle-1053@gregkh> X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" On Wed Oct 8, 2025 at 12:47 PM CEST, Greg KH wrote: > 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). >>=20 >> Yes, I'm aware (and I'd assume that there is no reason to ever change th= at). >>=20 >> Just for the complete picture, there's also some endianness switch in th= e >> NV_PMC_BOOT_1 register I think? >>=20 >> > All the CPU architectures our drivers support are expected to be littl= e-endian. >>=20 >> 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-linu= x-gnu.html > > so there really shouldn't be any reason why that platform couldn't add > rust support today, right? That's the one I also had in mind. :)