[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241007202752.3096472-1-abdiel.janulgue@gmail.com>
Date: Mon, 7 Oct 2024 23:27:49 +0300
From: Abdiel Janulgue <abdiel.janulgue@...il.com>
To: rust-for-linux@...r.kernel.org,
aliceryhl@...gle.com
Cc: dakr@...hat.com,
linux-kernel@...r.kernel.org,
lyude@...hat.com,
airlied@...hat.com,
miguel.ojeda.sandonis@...il.com,
boqun.feng@...il.com
Subject: rust: page: Add support for vmalloc_to_page
This series aims to add support for pages that are not allocated by an instance of the Page
abstraction, specifically those returned by vmalloc_to_page().
This patch series is sent in the context of developing a Nova driver WIP feature where we
load the the GSP firmware into an sg table [1].
[1] https://gitlab.freedesktop.org/abj/nova-drm
Abdiel Janulgue (3):
rust: page: replace the page pointer wrapper with Opaque
rust: page: Extend support to vmalloc_to_page
rust: page: Add page_slice_to_page
rust/kernel/page.rs | 111 ++++++++++++++++++++++++++++++++++++++++----
1 file changed, 102 insertions(+), 9 deletions(-)
base-commit: 673d1648244c3840043e09a784164b38c2e2efb9
--
2.34.1
Powered by blists - more mailing lists