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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 B14EAEE57DB for ; Wed, 11 Sep 2024 21:53:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hGRbSuD0EO2GcqLmRnFPw/dTn7KgoYiAdXI6UaluSfo=; b=Fv99QoTd4wTNhiQ/XdXRw+8tzF XE2c3+hkB3NX1X2rQEiALQ63TIPfcweBhbKNrQKeCFPoIrN+b+gud+44yypAyWEnXA6xN1m8WM+vd pV4KQWYKA3/jnAOnwaBL1Qr5j325d/3Tnul245/80lcxLKvpfNPw91wHM8wI5GIC7ijys4A9/1JzX lSg3EjbzVkjfOPiF54QOqEvXXP72NR+Fv9DuBzb5dr4jd/pA20y6XDbFgJWcu1lU3iQr5CScj6Yhu 8tVUxHqB141fQRIKzWoKJXKdd2c/8enXttztqJBWuLvsw7gBxCvomtW15HYB6BhQBsk67ZySXNc2Y n8Zwo1pA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1soVHF-0000000B7C7-01Ff; Wed, 11 Sep 2024 21:53:29 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1soVGB-0000000B72p-3Uxe for linux-arm-kernel@lists.infradead.org; Wed, 11 Sep 2024 21:52:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id BB495A45439; Wed, 11 Sep 2024 21:52:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F1B8C4CEC0; Wed, 11 Sep 2024 21:52:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1726091542; bh=uZNWVHvlgdVrrl8vudrG5UITO9VmGf5URzcYnjO4lRQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=d4fnHTmLTgMQnhQH6Wt+kNssw78yAWFgbcGCxTROdmd/5AaHIiIexyZa14hgz2o/+ bOM3u3rojGhjMm7yOF/Ux+Xr0IvHwY0kYxu3YW/x7zL/aqpqMbscpCEI9XvNyu4ckA 3BDGE9Yke6LVTljovqd/dUdBGU1T1VfoeuSt6LHMzoApDQM0ZcxEM/CDsqp3PAIIpo ie04GImUtW8TAtw9l3+anXJSrgyj0YirD7U0Jeg/Mb3qdrUnRYTpOWuKyl4LhNQfQp iz/KheY4TFDThI1h7XcBVhSn5fiUQ4KG8xb3YTwYmwQ40Vj233x92A7wT7fW4m0ffp UIEO9QDPhaqHw== Date: Wed, 11 Sep 2024 23:52:12 +0200 From: Danilo Krummrich To: Ayush Singh Cc: Ayush Singh , Greg Kroah-Hartman , fabien.parent@linaro.org, d-gole@ti.com, lorforlinux@beagleboard.org, jkridner@beagleboard.org, robertcnelson@beagleboard.org, Andrew Davis , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 1/8] rust: kernel: Add Platform device and driver abstractions Message-ID: References: <20240911-mikrobus-dt-v1-0-3ded4dc879e7@beagleboard.org> <20240911-mikrobus-dt-v1-1-3ded4dc879e7@beagleboard.org> <2024091106-scouring-smitten-e740@gregkh> <16d70285-cbec-4378-98eb-b522a0efbbe6@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240911_145224_078096_AC84064A X-CRM114-Status: GOOD ( 17.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Sep 11, 2024 at 11:35:43PM +0530, Ayush Singh wrote: > On 9/11/24 23:09, Danilo Krummrich wrote: > > > On 9/11/24 5:52 PM, Ayush Singh wrote: > > > Sure, can you provide me a link to patches or maybe the branch > > > containing that work? I also think it would be good to have the link > > > in Zulip discussion for Platform Device and Driver. > > > > Sure, please see [1]. But please be aware that I plan to rework some > > parts > > before sending out the next version. > > > > [1] https://github.com/Rust-for-Linux/linux/tree/staging/rust-device > > > Maybe the branch is just out of date? It still contains the generic > structures for IdArray, IdTable and RawDeviceId. > > Has something changed since the discussion here [0]? Yes, it has; this refers to what Greg mentioned when he said that we worked through this last weekend in his original reply. Things will probably not remain exactly this way, but the general concept of the abstractions will, i.e. the existance of `IdArray`, `IdTable`, and some `DeviceId` abstraction. Please also see [1]. [1] https://lore.kernel.org/rust-for-linux/ZuHU5yrJUOKnJGrB@pollux/ > > > [0]: > https://lore.kernel.org/rust-for-linux/2024062031-untracked-opt-3ff1@gregkh/ > > > Ayush Singh >