From: "Danilo Krummrich" <dakr@kernel.org>
To: "Matteo Kloiber" <kernel@matt3o12.de>
Cc: "Alexandre Courbot" <acourbot@nvidia.com>,
"Alice Ryhl" <aliceryhl@google.com>,
"Abdiel Janulgue" <abdiel.janulgue@gmail.com>,
"Robin Murphy" <robin.murphy@arm.com>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Gary Guo" <gary@garyguo.net>,
"Daniel Almeida" <daniel.almeida@collabora.com>,
"Miguel Ojeda" <ojeda@kernel.org>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Bjorn Helgaas" <bhelgaas@google.com>,
"Krzysztof Wilczyński" <kwilczynski@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
rust-for-linux@vger.kernel.org, driver-core@lists.linux.dev,
dri-devel@lists.freedesktop.org, nova-gpu@lists.linux.dev,
linux-kernel@vger.kernel.org
Subject: Re: [RFC PATCH 0/3] rust: dma: require device configuration before DMA
Date: Tue, 24 Nov 2026 00:49:17 +0100 [thread overview]
Message-ID: <DN2ZQV0NPYW5.2D6Z4TNR45UAF@kernel.org> (raw)
In-Reply-To: <20261123203926.1787169-1-kernel@matt3o12.de>
Hi Matteo,
On Mon Nov 23, 2026 at 9:39 PM CET, Matteo Kloiber wrote:
> Matteo Kloiber (3):
Thanks for working on this!
A few notes below, ahead of a proper review.
> rust: pci, platform: pass InitTokens to probe()
> gpu: nova-core: build Gpu inside pin_init_scope
I want to avoid wrapping everything in pin_init_scope(). Now that we have
pin-init self-ref, we can just store dma::Handle in Gpu itself and then borrow
it from GspResources.
> rust: dma: require device configuration before DMA
I think this should be broken down in multiple patches, e.g.
1. Introduce Setup, Params, and Handle.
2. Convert drivers to configure DMA and retain/pass the handle.
3. Change each DMA API to require a handle, converting all callers.
4. Remove the obsolete setters.
Thanks,
Danilo
prev parent reply other threads:[~2026-11-23 23:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 20:39 [RFC PATCH 0/3] rust: dma: require device configuration before DMA Matteo Kloiber
2026-11-23 20:39 ` [RFC PATCH 1/3] rust: pci, platform: pass InitTokens to probe() Matteo Kloiber
2026-11-23 20:39 ` [RFC PATCH 2/3] gpu: nova-core: build Gpu inside pin_init_scope Matteo Kloiber
2026-11-23 20:39 ` [RFC PATCH 3/3] rust: dma: require device configuration before DMA Matteo Kloiber
2026-11-23 20:52 ` sashiko-bot
2026-11-23 23:49 ` Danilo Krummrich [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DN2ZQV0NPYW5.2D6Z4TNR45UAF@kernel.org \
--to=dakr@kernel.org \
--cc=a.hindborg@kernel.org \
--cc=abdiel.janulgue@gmail.com \
--cc=acourbot@nvidia.com \
--cc=airlied@gmail.com \
--cc=aliceryhl@google.com \
--cc=bhelgaas@google.com \
--cc=daniel.almeida@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=driver-core@lists.linux.dev \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=kernel@matt3o12.de \
--cc=kwilczynski@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nova-gpu@lists.linux.dev \
--cc=ojeda@kernel.org \
--cc=robin.murphy@arm.com \
--cc=rust-for-linux@vger.kernel.org \
--cc=simona@ffwll.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox