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 8F060342C9E; Tue, 17 Mar 2026 19:33:12 +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=1773775992; cv=none; b=DGcm8xjUx2rogkpFllf1XjhNSh2a1HPJRhGv9zUhPeC/muscnLOK9Pftjip4HRzr3drQQmn5d+kPQbPl+Gw1YlgMbLMbTxG/qqfyXcL9Xlfn50pS9Nt3Zm+NvMSSOgpBU/B3+4IzC/WndqvHOELK5K42MBAWECn+dwlVDhr8ylA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773775992; c=relaxed/simple; bh=/6b3gbvFKGkLrC9E9uCZvBdHRWFC31GzSmNqF8vECp8=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=kehsFsB0NrYLRmgsNfz96rPq6ITUIExSdE67OGNH/VeK5WZoXdDxICo/FM6tpWoQM+zUQvVqR58/Tfko0ZQYpR7ADi+S3/ps+GdaTNupJ/Cd1Q4Hn6Cgdfr+/slC19S4zAlSMUvS7paeEQm/a1lnHW7uuHQT1rKuR43PaolApmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AMzfUiio; 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="AMzfUiio" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05182C2BC9E; Tue, 17 Mar 2026 19:33:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773775992; bh=/6b3gbvFKGkLrC9E9uCZvBdHRWFC31GzSmNqF8vECp8=; h=Date:Subject:Cc:To:From:References:In-Reply-To:From; b=AMzfUiiowjXF2Qnqf6+6knXM0XB8rIzSV/9Mfh2z6CMkt3g1Bgj+BQnlhf3pSIKAO Pt6qCmY/6IrjjF/Yp9kpCbPLdBb6x5WLes1drSiISf3hrYEe0XZZp55ctXBb/1rueE 62VjyPexPuNa6SLy0dfcUmPKMN5vy/pFO9hspnDOG7BGufuKVDyWlPn1hgTZEEqMSU g5xepUd75tB7USAjxOBn1tUA6k6u9afpPf2V9W8GDVi/Bw0qzCKI2T4rLFRWRIjHZi 6YjFumK/y8HfJE3XjCkOiyrEP5Tn/WxojChGK0PSgqy9ZYTHJdpSna78iPbUrYgTs6 CPUr8Bri1lMOA== 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: Tue, 17 Mar 2026 20:33:06 +0100 Message-Id: Subject: Re: [PATCH v9 00/10] rust: add `register!` macro Cc: "Alice Ryhl" , "Daniel Almeida" , "Miguel Ojeda" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Trevor Gross" , "Boqun Feng" , "Yury Norov" , "John Hubbard" , "Alistair Popple" , "Joel Fernandes" , "Timur Tabi" , "Edwin Peer" , "Eliot Courtney" , "Dirk Behme" , "Steven Price" , , , "Yury Norov" , "Zhi Wang" To: "Alexandre Courbot" From: "Danilo Krummrich" References: <20260314-register-v9-0-86805b2f7e9d@nvidia.com> In-Reply-To: On Sun Mar 15, 2026 at 1:57 AM CET, Danilo Krummrich wrote: > On Sat Mar 14, 2026 at 2:06 AM CET, Alexandre Courbot wrote: > > I've now picked this up in the topic/io topic branch [1]; it will soon be= merged > into driver-core-next and drm-rust-next, thanks! Now in both driver-core-next and drm-rust-next -- great work Alex, thanks! >> Alexandre Courbot (10): >> rust: enable the `generic_arg_infer` feature >> rust: num: add `shr` and `shl` methods to `Bounded` >> rust: num: add `into_bool` method to `Bounded` >> rust: num: make Bounded::get const >> rust: io: add IoLoc type and generic I/O accessors > > [ Fix incorrect reference to io_addr_assert() in try_update(). - Dani= lo ] > >> rust: io: use generic read/write accessors for primitive accesses > > [ Slightly improve wording in doc-comment. - Danilo ] > >> rust: io: add `register!` macro > > [ * Improve wording and formatting of doc-comments, > * Import build_assert!(), > * Add missing inline annotations, > * Call static_assert!() with absolute path, > * Use expect instead of allow. > > - Danilo ] > >> rust: io: introduce `write_reg` and `LocatedRegister` > > [ Replace FIFO with VERSION register in the examples. - Danilo ] > >> sample: rust: pci: use `register!` macro > > [ Fix up kernel import style. - Danilo ]