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 92691CCA468 for ; Tue, 30 Sep 2025 15:08:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 235CE10E5F6; Tue, 30 Sep 2025 15:08:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="Zd+EPywA"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id C966710E2C2; Tue, 30 Sep 2025 15:08:57 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 6CE7C418B1; Tue, 30 Sep 2025 15:08:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 269FEC113D0; Tue, 30 Sep 2025 15:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759244937; bh=63UtVYxJqylHj4prM1HduUeXtYHOuEV3RnRnFK4ygP4=; h=Date:Cc:To:From:Subject:References:In-Reply-To:From; b=Zd+EPywA1Fzu+74r4CrY4oG41aO1BBHIc8jHBwkLmx3AJcZ6XGH882Lc16+WxrpWo kcz44sRRI5sGVY+s6ukWK45G+xbS+xznFZqjPXqTCSTI7QVCx/FCmVb+Ncr0dOEX8a kRtdy80NnE3B7+mwao6ZQ6+820HP9L5Blp/aS36uApG38JR5vlJOpk//PRg/h+Gyvi i1zfq9AgsSlcdT5VCLXBlUSxFYdOlTKuqzou0h0mcxifCCIYhsjxciaGU6U4GWE0KR R0iP1qPqJn+EMJuo3r5LOjs0CUAVOOP/ig4VthGFPaouwNbYA21Hw0QR+ekYmpUwwa occ2O3CZp5r6w== Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 30 Sep 2025 17:08:50 +0200 Message-Id: Cc: , , , , "Alistair Popple" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "David Airlie" , "Simona Vetter" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "John Hubbard" , "Timur Tabi" , , "Elle Rhumsaa" , "Yury Norov" , "Daniel Almeida" , "Andrea Righi" , To: "Joel Fernandes" From: "Danilo Krummrich" Subject: Re: [PATCH v5 0/9] Introduce bitfield and move register macro to rust/kernel/ References: <20250930144537.3559207-1-joelagnelf@nvidia.com> In-Reply-To: <20250930144537.3559207-1-joelagnelf@nvidia.com> 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 Tue Sep 30, 2025 at 4:45 PM CEST, Joel Fernandes wrote: > MAINTAINERS | 7 + > drivers/gpu/nova-core/falcon.rs | 2 +- > drivers/gpu/nova-core/falcon/gsp.rs | 4 +- > drivers/gpu/nova-core/falcon/sec2.rs | 2 +- > drivers/gpu/nova-core/regs.rs | 6 +- > rust/kernel/bitfield.rs | 804 ++++++++++++++++++ > rust/kernel/io.rs | 1 + > .../macros.rs =3D> rust/kernel/io/register.rs | 317 +------ > rust/kernel/lib.rs | 1 + > security/Kconfig.hardening | 9 + > 10 files changed, 870 insertions(+), 283 deletions(-) > create mode 100644 rust/kernel/bitfield.rs > rename drivers/gpu/nova-core/regs/macros.rs =3D> rust/kernel/io/register= .rs (72%) I think we have at least three or four potential target trees for this: driver-core (I/O), drm-rust (Nova), bitmap / Rust. (I don't know which tree the bitmap stuff would go through, I did not find = a tree entry in the MAINTAINERS file.) Unless someone thinks otherwise, I'd take it through the drm-rust tree once= the series is ready. This should cause the least conflicts and as a bonus enabl= e Tyr to use it right away.