rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] rust: transmute: implement FromBytes and AsBytes for ()
@ 2025-12-08  9:54 Alexandre Courbot
  2025-12-08  9:54 ` [PATCH v2 1/2] " Alexandre Courbot
  2025-12-08  9:54 ` [PATCH v2 2/2] gpu: nova-core: gsp: use () as message type for GspInitDone message Alexandre Courbot
  0 siblings, 2 replies; 7+ messages in thread
From: Alexandre Courbot @ 2025-12-08  9:54 UTC (permalink / raw)
  To: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
	Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
	Danilo Krummrich
  Cc: John Hubbard, Alistair Popple, Joel Fernandes, Timur Tabi,
	Edwin Peer, rust-for-linux, linux-kernel, Alexandre Courbot

This is going to be useful in Nova's GSP message handling, as some
messages are empty and we need to explicitly use an empty structure for
them.

If accepted, I would like to merge it through `drm-rust-next` so Nova
code can start using this feature quickly.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
Changes in v2:
- Make use of new feature in Nova.
- Link to v1: https://patch.msgid.link/20251208-transmute_unit-v1-1-680c7386b5d9@nvidia.com

---
Alexandre Courbot (2):
      rust: transmute: implement FromBytes and AsBytes for ()
      gpu: nova-core: gsp: use () as message type for GspInitDone message

 drivers/gpu/nova-core/gsp/commands.rs | 6 +++---
 rust/kernel/transmute.rs              | 6 ++++++
 2 files changed, 9 insertions(+), 3 deletions(-)
---
base-commit: ba65a4e7120a616d9c592750d9147f6dcafedffa
change-id: 20251208-transmute_unit-78ab58ba9e6e

Best regards,
-- 
Alexandre Courbot <acourbot@nvidia.com>


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

end of thread, other threads:[~2025-12-09  2:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-08  9:54 [PATCH v2 0/2] rust: transmute: implement FromBytes and AsBytes for () Alexandre Courbot
2025-12-08  9:54 ` [PATCH v2 1/2] " Alexandre Courbot
2025-12-08 11:00   ` Alistair Popple
2025-12-08 13:27   ` Gary Guo
2025-12-09  2:39     ` Alexandre Courbot
2025-12-08  9:54 ` [PATCH v2 2/2] gpu: nova-core: gsp: use () as message type for GspInitDone message Alexandre Courbot
2025-12-08 10:56   ` Alistair Popple

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).