rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rust: page: Add support for vmalloc_to_page
@ 2024-10-07 20:27 Abdiel Janulgue
  2024-10-07 20:27 ` [PATCH 1/3] rust: page: replace the page pointer wrapper with Opaque Abdiel Janulgue
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Abdiel Janulgue @ 2024-10-07 20:27 UTC (permalink / raw)
  To: rust-for-linux, aliceryhl
  Cc: dakr, linux-kernel, lyude, airlied, miguel.ojeda.sandonis,
	boqun.feng

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-10-15 13:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 20:27 rust: page: Add support for vmalloc_to_page Abdiel Janulgue
2024-10-07 20:27 ` [PATCH 1/3] rust: page: replace the page pointer wrapper with Opaque Abdiel Janulgue
2024-10-08  6:58   ` Alice Ryhl
2024-10-08  7:04     ` Boqun Feng
2024-10-08 11:29       ` Abdiel Janulgue
2024-10-08 11:33         ` Boqun Feng
2024-10-11 11:07   ` Fiona Behrens
2024-10-15 13:21     ` Alice Ryhl
2024-10-07 20:27 ` [PATCH 2/3] rust: page: Extend support to vmalloc_to_page Abdiel Janulgue
2024-10-07 20:27 ` [PATCH 3/3] rust: page: Add page_slice_to_page Abdiel Janulgue
2024-10-11 11:03   ` kernel test robot
2024-10-07 20:58 ` rust: page: Add support for vmalloc_to_page Miguel Ojeda
2024-10-08 11:29   ` Abdiel Janulgue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).