Hi Dave and Sima,

Please pull these DRM Rust fixes.

The last patch has not been linux-next yet, but no issues are expected.
No conflicts expected.

The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:

  Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/rust/kernel.git 
tags/drm-rust-fixes-2026-03-12

for you to fetch changes up to 0073a17b466684413ac87cf8ff6c19560db44e7a:

  gpu: nova-core: gsp: fix UB in DmaGspMem pointer accessors (2026-03-11 
16:24:15 +0100)

----------------------------------------------------------------
Core Changes:

- Fix safety issue in dma_read! and dma_write!.

Driver Changes (Nova Core):

- Fix UB in DmaGspMem pointer accessors.
- Fix stack overflow in GSP memory allocation.

----------------------------------------------------------------
Danilo Krummrich (1):
      gpu: nova-core: gsp: fix UB in DmaGspMem pointer accessors

Gary Guo (3):
      rust: ptr: add `KnownSize` trait to support DST size info extraction
      rust: ptr: add projection infrastructure
      rust: dma: use pointer projection infra for `dma_{read,write}` macro

Tim Kovalenko (1):
      gpu: nova-core: fix stack overflow in GSP memory allocation

 drivers/gpu/nova-core/gsp.rs      |  46 +++---
 drivers/gpu/nova-core/gsp/boot.rs |   2 +-
 drivers/gpu/nova-core/gsp/cmdq.rs |  93 +++++-------
 drivers/gpu/nova-core/gsp/fw.rs   | 101 +++++++++----
 rust/kernel/dma.rs                | 114 +++++++-------
 rust/kernel/lib.rs                |   4 +
 rust/kernel/ptr.rs                |  30 +++-
 rust/kernel/ptr/projection.rs     | 305 ++++++++++++++++++++++++++++++++++++++
 samples/rust/rust_dma.rs          |  30 ++--
 scripts/Makefile.build            |   4 +-
 10 files changed, 534 insertions(+), 195 deletions(-)
 create mode 100644 rust/kernel/ptr/projection.rs

Reply via email to