From: "Onur Özkan" <work@onurozkan.dev>
To: Alvin Sun <alvin.sun@linux.dev>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <lossin@kernel.org>,
"Andreas Hindborg" <a.hindborg@kernel.org>,
"Alice Ryhl" <aliceryhl@google.com>,
"Trevor Gross" <tmgross@umich.edu>,
"Danilo Krummrich" <dakr@kernel.org>,
"Lorenzo Stoakes" <ljs@kernel.org>,
"Liam R. Howlett" <Liam.Howlett@oracle.com>,
"Tamir Duberstein" <tamird@kernel.org>,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: [PATCH 0/4] rust: Add helper functions and constants for Tyr driver
Date: Fri, 17 Apr 2026 10:43:47 +0300 [thread overview]
Message-ID: <20260417074348.98280-1-work@onurozkan.dev> (raw)
In-Reply-To: <20260417-tyr-ioctls-deps-v1-0-41c6e9bb061c@linux.dev>
On Fri, 17 Apr 2026 09:05:50 +0800
Alvin Sun <alvin.sun@linux.dev> wrote:
> This patchset provides helper functions and constants that will be used
> by the Tyr driver's VM and BO related ioctl implementations.
>
> These patches add:
> - SZ_4G constant for VA layout calculations
> - A task_size() method to Mm for determining process VA space size
> - Updated StoreError comments for alloc() usage
> - Guard::find() helper for finding the first present entry in XArray
>
> This patchset depends on Onur's xa_alloc implementation [1].
>
> The complete patchset, including the Tyr driver ioctl implementations
> can be found at [2].
>
> Link: https://lore.kernel.org/rust-for-linux/20251006163024.18473-1-work@onurozkan.dev/ [1]
> Link: https://gitlab.freedesktop.org/panfrost/linux/-/merge_requests/64 [2]
> Signed-off-by: Alvin Sun <alvin.sun@linux.dev>
> ---
FYI, there is v2 exist and I will probably need to send v3 to address some of
the review notes. It's good that we have a use case for the series, I will share
(probably during the next week) the v3 before sending it to make sure it works
for you.
Thanks,
Onur
> Alvin Sun (4):
> rust: sizes: add SZ_4G constant
> rust: mm: Add task_size() method to Mm
> rust: xarray: Update StoreError comments for alloc()
> rust: xarray: Add Guard::find() helper
>
> rust/kernel/mm.rs | 7 +++++++
> rust/kernel/sizes.rs | 2 ++
> rust/kernel/xarray.rs | 28 +++++++++++++++++++++++++---
> 3 files changed, 34 insertions(+), 3 deletions(-)
> ---
> base-commit: d1d81e9d1a4dd846aee9ae77ff9ecc2800d72148
> change-id: 20260416-tyr-ioctls-deps-25805eedf332
> prerequisite-message-id: <20251006163024.18473-1-work@onurozkan.dev>
> prerequisite-patch-id: c472a9548969ac774d36fead73378961a0d0489c
> prerequisite-patch-id: 63890b91e911cf96cb42308c056d639580ac0fa0
> prerequisite-patch-id: 337eb93db35359c611abe9cba299e6ab0525a2b5
>
> Best regards,
> --
> Alvin Sun <alvin.sun@linux.dev>
>
next prev parent reply other threads:[~2026-04-17 7:44 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-17 1:05 [PATCH 0/4] rust: Add helper functions and constants for Tyr driver Alvin Sun
2026-04-17 1:05 ` [PATCH 1/4] rust: sizes: add SZ_4G constant Alvin Sun
2026-04-17 3:18 ` Alexandre Courbot
2026-04-17 11:56 ` Alvin Sun
2026-04-17 14:06 ` Alexandre Courbot
2026-04-17 15:06 ` Alvin Sun
2026-04-18 0:14 ` Deborah Brouwer
2026-04-20 15:15 ` Gary Guo
2026-04-21 15:06 ` Alvin Sun
2026-04-17 1:05 ` [PATCH 2/4] rust: mm: Add task_size() method to Mm Alvin Sun
2026-04-20 15:33 ` Gary Guo
2026-04-17 1:05 ` [PATCH 3/4] rust: xarray: Update StoreError comments for alloc() Alvin Sun
2026-04-20 15:38 ` Gary Guo
2026-04-17 1:05 ` [PATCH 4/4] rust: xarray: Add Guard::find() helper Alvin Sun
2026-04-17 1:18 ` Matthew Wilcox
2026-04-17 2:16 ` Alvin Sun
2026-04-17 14:52 ` Tamir Duberstein
2026-04-17 15:11 ` Alvin Sun
2026-04-17 8:28 ` Onur Özkan
2026-04-17 12:43 ` Alvin Sun
2026-04-24 11:42 ` Andreas Hindborg
2026-04-24 15:14 ` Alvin Sun
2026-04-17 7:43 ` Onur Özkan [this message]
2026-04-17 12:44 ` [PATCH 0/4] rust: Add helper functions and constants for Tyr driver Alvin Sun
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=20260417074348.98280-1-work@onurozkan.dev \
--to=work@onurozkan.dev \
--cc=Liam.Howlett@oracle.com \
--cc=a.hindborg@kernel.org \
--cc=aliceryhl@google.com \
--cc=alvin.sun@linux.dev \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun@kernel.org \
--cc=dakr@kernel.org \
--cc=gary@garyguo.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=ljs@kernel.org \
--cc=lossin@kernel.org \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=tamird@kernel.org \
--cc=tmgross@umich.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.