All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] drm/nova: make unstable uAPI use explicit
@ 2026-10-19 21:24 Danilo Krummrich
  2026-10-19 21:24 ` [PATCH 1/3] drm/nova: mark the uAPI header as unstable Danilo Krummrich
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Danilo Krummrich @ 2026-10-19 21:24 UTC (permalink / raw)
  To: dakr, aliceryhl, airlied, simona, ojeda, boqun, gary, bjorn3_gh,
	lossin, a.hindborg, tmgross, daniel.almeida, tamird, acourbot,
	work, jhubbard, apopple, ecourtney, lyude, kherbst
  Cc: nova-gpu, dri-devel, rust-for-linux

Nova and its uAPI are under active upstream development. We want to develop
these interfaces upstream while making clear that they are not yet stable and
may change incompatibly.

This series makes that status more explicit and requires users to acknowledge it
before enabling the driver, tainting the kernel when they do.

Introduce a minimal Rust abstraction for kernel tainting in order to support
this.

As individual interfaces stabilize, they should move from nova_drm_unstable.h to
the stable nova_drm.h header. Once all interfaces have moved and all
stakeholders agree that the uAPI is stable, the acknowledgment requirement and
kernel tainting can be removed.

(Compile-tested only, as I'm currently travelling.)

Danilo Krummrich (3):
  drm/nova: mark the uAPI header as unstable
  rust: add kernel taint abstraction
  drm/nova: require explicit opt-in to unstable uAPI

 drivers/gpu/drm/nova/Kconfig             |  11 +-
 drivers/gpu/drm/nova/nova.rs             |  55 +++++-
 drivers/gpu/drm/nova/nova_drm_unstable.h | 212 +++++++++++++++++++++++
 include/uapi/drm/nova_drm.h              | 204 +---------------------
 rust/bindings/bindings_helper.h          |   1 +
 rust/kernel/lib.rs                       |   1 +
 rust/kernel/panic.rs                     |  50 ++++++
 rust/uapi/uapi_helper.h                  |   2 +
 8 files changed, 332 insertions(+), 204 deletions(-)
 create mode 100644 drivers/gpu/drm/nova/nova_drm_unstable.h
 create mode 100644 rust/kernel/panic.rs


base-commit: 3497a403264b094ebd61b8b755165d56e7d9dc37
-- 
2.56.0


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

end of thread, other threads:[~2026-10-20 14:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19 21:24 [PATCH 0/3] drm/nova: make unstable uAPI use explicit Danilo Krummrich
2026-10-19 21:24 ` [PATCH 1/3] drm/nova: mark the uAPI header as unstable Danilo Krummrich
2026-10-19 22:08   ` Faith Ekstrand
2026-10-20 14:36   ` M Henning
2026-10-19 21:24 ` [PATCH 2/3] rust: add kernel taint abstraction Danilo Krummrich
2026-10-19 21:24 ` [PATCH 3/3] drm/nova: require explicit opt-in to unstable uAPI Danilo Krummrich
2026-10-19 21:32   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.