From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F13C82F5A28; Wed, 8 Oct 2025 10:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759919029; cv=none; b=k8hw0FW0Qty+brCPR7fWllABpA2dw30s6WwSi87Rxb8jGO0i/uHsUZjA48tDD43BwptwDU63V1nkpiZS93X6sZPVkx8Jj4LE2kGtr9htuTOYuHVG3mf05RKQSOYHs+rdSe/8/OhKWT1OeaKqcGzuJhga/HxN1TVgwfszvBUyj7w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759919029; c=relaxed/simple; bh=pgyDd5U4lx90hBvX9nM6Mbf+EYCdvQf0+HPHy40vgt8=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=OQ6aPlHgggx3HnIy9uKt50dIFjDSa9Pe1UVHLsCrDn/EyKcBIACPFO1nBsbebI7I8mA61AAsDWs0vrd65FtTDVU7sIh26O5kEI2yhWBO4NY1f6nGBCwHeeaXoWvSN/YDft7WF/RNQvIS0NcUTyyxfslrFzsghsFZu19zHPoj2NI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mS8v4XQi; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mS8v4XQi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29291C4CEF4; Wed, 8 Oct 2025 10:23:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759919027; bh=pgyDd5U4lx90hBvX9nM6Mbf+EYCdvQf0+HPHy40vgt8=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=mS8v4XQiuMI+8/hdm6D67HTsv1lFRpRqd/9dRgiHCxvNhfGJGffAnfXAyBU3f1KF4 B+UnqCXC9/h9TkG8O9cV6GDttVb0OzlwKlnXZ2oyTsxn62YX++8u0zrsFjvSL/9fNC yLK8DnXfSEnCCg4ZPFT/WChXNGS+7N0Z+DeUrhF6Ap+7DkD1GUibu7rNr3FAh0cp4F ywYU+xVIL85CcLiofN7oZKB2g4vpo0hyWk6foZJygmi0aymK1mmahHFQJ5ieY2dVfS 1n/MiYDhJfv4gmQ2s5L5F3AmGTToHgoSPiSaP4FBDtEStM8KSqboEWwyobwR4Zr7Pf NdWDLDJHhQylA== Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 08 Oct 2025 12:23:40 +0200 Message-Id: Subject: Re: [PATCH v6 0/5] Introduce bitfield and move register macro to rust/kernel/ Cc: "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: "Joel Fernandes" From: "Danilo Krummrich" References: <695CCDCE-A205-4557-AA15-6F102B8CCF0C@nvidia.com> In-Reply-To: <695CCDCE-A205-4557-AA15-6F102B8CCF0C@nvidia.com> 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-e= ndian. Technically, all Rust supported architectures are indeed little-endian. However, the only constraint for the Nova project as by now is 64-bit only.