[PATCH 0/2] rust, nova-core: use u64 variants of SZ_* constants

From: John Hubbard

Date: Mon Mar 09 2026 - 22:32:06 EST


Hi,

This is based on the recently posted Blackwell/Hopper v6 series[1].

Although it doesn't really depend on that series, it's better to apply
it on top, in order to catch all of the cases, some of which were added
by that series.

[1] https://github.com/johnhubbard/linux/tree/nova-core-blackwell-v6


John Hubbard (2):
rust: sizes: add u64 variants of SZ_* constants
gpu: nova-core: use SZ_*_U64 constants from kernel::sizes

drivers/gpu/nova-core/fb.rs | 19 ++++++------
drivers/gpu/nova-core/gsp/fw.rs | 23 +++++++--------
drivers/gpu/nova-core/regs.rs | 6 ++--
rust/kernel/sizes.rs | 51 +++++++++++++++++++++++++++++++++
4 files changed, 72 insertions(+), 27 deletions(-)


base-commit: 0c794102e44c20df9a655b28245dd037f197cd69
--
2.53.0