rust: page: Add support for vmalloc_to_page
From: Abdiel Janulgue
Date: Mon Oct 07 2024 - 16:29:10 EST
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