[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241104090711.3000818-1-abdiel.janulgue@gmail.com>
Date: Mon, 4 Nov 2024 11:06:32 +0200
From: Abdiel Janulgue <abdiel.janulgue@...il.com>
To: rust-for-linux@...r.kernel.org
Cc: daniel.almeida@...labora.com,
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 v3 0/2] Add dma coherent allocator abstraction
This series adds support for the dma coherent allocator.
Changes since v2:
- Fixed missing header for generating the bindings.
Changes since v1:
- Fix missing info in commit log where EOVERFLOW is used
- Restrict the dma coherent allocator to numeric types for now for valid
behaviour.
- Build slice dynamically.
Abdiel Janulgue (2):
rust: error: Add EOVERFLOW
rust: add dma coherent allocator abstraction.
rust/bindings/bindings_helper.h | 1 +
rust/kernel/dma.rs | 165 ++++++++++++++++++++++++++++++++
rust/kernel/error.rs | 1 +
rust/kernel/lib.rs | 1 +
4 files changed, 168 insertions(+)
create mode 100644 rust/kernel/dma.rs
base-commit: ae7851c29747fa3765ecb722fe722117a346f988
--
2.43.0
Powered by blists - more mailing lists