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 235A32EB86B; Wed, 8 Oct 2025 10:50:00 +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=1759920601; cv=none; b=bLSwmaBI7sG8brQ6HYIFikskpGqFIQit7d1heuv0M06DF/GMBkrs+sSBamoSS0EHi4tuCViaOtOVfKqSrcHeTSO8C9WZBQiSYWucYk2A3TonCJvPs0ASZM3yrFJOprkhL04iEtoehkmiVymfwA2ZOEigQFNTOWS9apoL0cQNuT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759920601; c=relaxed/simple; bh=2hOyFHWMo22nr714D5lkkesp5ykT8kzlR52ADooTRLI=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=UODknAdaNP9Q1+00141XlOdV7uCODEZ9rfQC0vVMQelj+q/HvwYjOW6qyHLsrmeqsJCsTDr+l1nVJHPUAPyfd5gqndokNMXyO8s8dJGAygUbfYmWkhfgtS0jfjDXfRjqZCLkLkcaVfRIQzxIAt78RPw2VCPjP5G32NgA2w6tSuY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MxXnHkfd; 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="MxXnHkfd" 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== Precedence: bulk X-Mailing-List: linux-kernel@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: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> 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. :)