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 D97D711713; Thu, 9 Oct 2025 13:02:46 +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=1760014968; cv=none; b=N4ylLmV19N/J4Ffd2CyzVbp+7BZvanvw1jOvvCKReFPEc2GUoIbRB7R4UYE6j3z92P2HXxfIrztzGdXcFrPVcSglp53qqog72Z9GgERxH1o+ANZvbzi/tbXRvzhZ9KzMS0tHuAYEp21f4wM7NUaPgEHpoJQ30akzl5KgGQqqBL8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1760014968; c=relaxed/simple; bh=PuBhH69ek7xCWvm0d6VlgDo84TLqDlLMyWF4mF3IQws=; h=Mime-Version:Content-Type:Date:Message-Id:From:Subject:Cc:To: References:In-Reply-To; b=E7PaWS6ZdZNAz2oYtiMg8hTGmuOeIhEQOXZgArLi1s9Ui0AHrCqU5nGimrHNZFpCJcgCyeZU6rbAaMS+n2aJ3GouL2ZOtVPLwN+OJbrj5IqIqTdKitjOgLCrcBCMMgLiwUKCiDBxe86/M0FM+nKYx2mRIV4Lq+oL8LouqFEb+uM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U66bVbG+; 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="U66bVbG+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B61CC4CEF5; Thu, 9 Oct 2025 13:02:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1760014966; bh=PuBhH69ek7xCWvm0d6VlgDo84TLqDlLMyWF4mF3IQws=; h=Date:From:Subject:Cc:To:References:In-Reply-To:From; b=U66bVbG+u9ZGnv56xEL2UQJ9Tl/4GNHCEj+Mqn80qMl6u9YpHbHHwbLkJqIiiPnEk lgex3EvWzBOUt2UBiZ+zZTgSvL3x6OFmKMs/BLkJ+lQ2uCfye6y1ks+CoM1fc0PZsy 7CSCR2AKg6/RSufXN1Id4LxgRJ8quweikpk2FFbqYnrIVpM7+kAQzzaA5r9dmEkAfo Av3xe7vwtYVfUWcvGcmwcaMTqMQUWeJoWUe8EpPIU8eF+eYW0gK9cy3v0XiiQkdECY vscTpXwzqBp3P1M7QC/W830ChoVgOg536Rsq4B9iJ2gSGwLt2mKm81pdNZSXYm3PFn VPxBVMjj0sS6A== 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: Thu, 09 Oct 2025 15:02:39 +0200 Message-Id: From: "Danilo Krummrich" 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" References: <695CCDCE-A205-4557-AA15-6F102B8CCF0C@nvidia.com> <22e8c33c-b444-4f58-b7ec-6374475e05be@nvidia.com> In-Reply-To: <22e8c33c-b444-4f58-b7ec-6374475e05be@nvidia.com> On Thu Oct 9, 2025 at 2:24 AM CEST, Joel Fernandes wrote: > On 10/8/2025 6:23 AM, 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? > > You are referring to old GPUs. NV_PMC_BOOT_1 does not have endianness swi= tch for > Turing and later. Ok, then there's no point in considering big-endian CPUs. > If we want to add a Kconfig patch enabling Nova only on x86/ARM, that'll = be Ok > with me. I don't see why we'd constrain it to x86 and ARM, but we should indeed cons= train it to little-endian architectures.