[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241023113309.1724992-1-abdiel.janulgue@gmail.com>
Date: Wed, 23 Oct 2024 14:32:49 +0300
From: Abdiel Janulgue <abdiel.janulgue@...il.com>
To: rust-for-linux@...r.kernel.org
Cc: a.hindborg@...nel.org,
linux-kernel@...r.kernel.org,
dakr@...hat.com,
airlied@...hat.com,
miguel.ojeda.sandonis@...il.com,
wedsonaf@...il.com,
Abdiel Janulgue <abdiel.janulgue@...il.com>
Subject: [PATCH 0/2] Add dma coherent allocator abstraction
This series adds support for the dma coherent allocator. This is based
on code developed by Andreas Hindborg for the rnvme driver. We adapted
this for basic use in the Nova driver to access the GSP via DMA [0].
[0] https://gitlab.freedesktop.org/abj/nova-drm
Abdiel Janulgue (2):
rust: error: Add EOVERFLOW
rust: add dma coherent allocator abstraction.
rust/kernel/dma.rs | 153 +++++++++++++++++++++++++++++++++++++++++++
rust/kernel/error.rs | 1 +
rust/kernel/lib.rs | 1 +
3 files changed, 155 insertions(+)
create mode 100644 rust/kernel/dma.rs
base-commit: 15541c9263ce34ff95a06bc68f45d9bc5c990bcd
--
2.43.0
Powered by blists - more mailing lists