All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] gpu: nova-core: complete conversion to kernel `num` module
@ 2026-08-28  5:33 Alexandre Courbot
  2026-08-28  5:33 ` [PATCH 1/2] gpu: nova-core: use kernel lossless integer conversion module Alexandre Courbot
  2026-08-28  5:33 ` [PATCH 2/2] gpu: nova-core: use FromSafeCast wherever possible Alexandre Courbot
  0 siblings, 2 replies; 9+ messages in thread
From: Alexandre Courbot @ 2026-08-28  5:33 UTC (permalink / raw)
  To: Danilo Krummrich, Alice Ryhl, David Airlie, Simona Vetter
  Cc: John Hubbard, Alistair Popple, Timur Tabi, Eliot Courtney,
	Zhi Wang, nova-gpu, dri-devel, rust-for-linux, linux-kernel,
	Alexandre Courbot

This is extracted from the now-defunct `const_as` series [1] and
does the groundwork required to eventually convert nova-core to use the
`cv!` macro [2].

Patch 1 does the minimum necessary to convert nova-core to the kernel's
num module and removes its local copy. Patch 2 broadens the use of
`FromSafeCast` to avoid having to refer the `casts` module at every
conversion. After it, the only references left to `casts` are the
conversions done in const context, that will eventually be replaced by
the `cv!` macro.

This series is based on `master` and should be mergeable after `-rc1`
has been tagged.

[1] https://lore.kernel.org/all/20260825-const_as-v1-0-1ce712225fe2@nvidia.com/
[2] https://lore.kernel.org/all/DL051FB1HOBY.2UC911T3M9AIS@nvidia.com/

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
---
Alexandre Courbot (2):
      gpu: nova-core: use kernel lossless integer conversion module
      gpu: nova-core: use FromSafeCast wherever possible

 drivers/gpu/nova-core/falcon.rs                    |  12 +-
 drivers/gpu/nova-core/falcon/fsp.rs                |   4 +-
 drivers/gpu/nova-core/fb.rs                        |   2 +-
 drivers/gpu/nova-core/fb/hal/gb100.rs              |   6 +-
 drivers/gpu/nova-core/firmware.rs                  |   4 +-
 drivers/gpu/nova-core/firmware/booter.rs           |   4 +-
 drivers/gpu/nova-core/firmware/fwsec.rs            |   2 +-
 drivers/gpu/nova-core/firmware/fwsec/bootloader.rs |   4 +-
 drivers/gpu/nova-core/firmware/gsp.rs              |   9 +-
 drivers/gpu/nova-core/firmware/tlv.rs              |  11 +-
 drivers/gpu/nova-core/fsp.rs                       |   8 +-
 drivers/gpu/nova-core/gsp.rs                       |   4 +-
 drivers/gpu/nova-core/gsp/cmdq.rs                  |  25 +--
 drivers/gpu/nova-core/gsp/fw.rs                    |  42 ++--
 drivers/gpu/nova-core/gsp/fw/commands.rs           |   4 +-
 drivers/gpu/nova-core/gsp/sequencer.rs             |   2 +-
 drivers/gpu/nova-core/mctp.rs                      |   8 +-
 drivers/gpu/nova-core/num.rs                       | 211 ---------------------
 drivers/gpu/nova-core/vbios.rs                     |   2 +-
 19 files changed, 81 insertions(+), 283 deletions(-)
---
base-commit: 1b78070aaef63512688aebfbc82365ef9d6660f1
change-id: 20260828-nova_num-64e1b2e84f77

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


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

end of thread, other threads:[~2026-08-29  3:34 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28  5:33 [PATCH 0/2] gpu: nova-core: complete conversion to kernel `num` module Alexandre Courbot
2026-08-28  5:33 ` [PATCH 1/2] gpu: nova-core: use kernel lossless integer conversion module Alexandre Courbot
2026-08-28  5:43   ` sashiko-bot
2026-08-28 12:09   ` Danilo Krummrich
2026-08-28 12:16     ` Miguel Ojeda
2026-08-29  3:34     ` Alexandre Courbot
2026-08-28  5:33 ` [PATCH 2/2] gpu: nova-core: use FromSafeCast wherever possible Alexandre Courbot
2026-08-28  5:42   ` Eliot Courtney
2026-08-28  5:49   ` 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.