linux/drivers/gpu/nova-core
Alexandre Courbot 58d26d4281 gpu: nova-core: align LibosMemoryRegionInitArgument size to page size
On Turing and GA100 (i.e. the versions that use Libos v2), GSP-RM insists
that the 'size' parameter of the LibosMemoryRegionInitArgument struct be
aligned to 4KB.  The logging buffers are already aligned to that size, so
only the GSP_ARGUMENTS_CACHED struct needs to be adjusted.  Make that
adjustment by adding padding to the end of the struct.

Signed-off-by: Timur Tabi <ttabi@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260122222848.2555890-12-ttabi@nvidia.com
[acourbot@nvidia.com: GspArgumentsAligned -> GspArgumentsPadded]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
2026-01-24 10:48:59 +09:00
..
falcon gpu: nova-core: add Falcon HAL method load_method() 2026-01-24 10:48:59 +09:00
fb gpu: nova-core: justify remaining uses of as 2025-11-08 08:22:51 +09:00
firmware gpu: nova-core: add FalconUCodeDescV2 support 2026-01-24 10:48:59 +09:00
gsp gpu: nova-core: align LibosMemoryRegionInitArgument size to page size 2026-01-24 10:48:59 +09:00
regs gpu: nova-core: regs: rename .alter() --> .update() 2025-10-25 13:12:02 +09:00
bitfield.rs gpu: nova-core: bitfield: remove BitOr implementation 2025-10-25 13:16:31 +09:00
dma.rs gpu: nova-core: Simplify DmaObject::from_data in nova-core/dma.rs 2025-11-07 23:10:44 +09:00
driver.rs gpu: nova: replace kernel::c_str! with C-Strings 2025-12-22 17:56:04 +01:00
falcon.rs gpu: nova-core: add Falcon HAL method load_method() 2026-01-24 10:48:59 +09:00
fb.rs gpu: nova-core: add missing newlines to several print strings 2026-01-12 14:44:06 +01:00
firmware.rs gpu: nova-core: add FalconUCodeDescV2 support 2026-01-24 10:48:59 +09:00
gfw.rs gpu: nova-core: apply the one "use" item per line policy 2025-11-07 23:10:44 +09:00
gpu.rs gpu: nova-core: add missing newlines to several print strings 2026-01-12 14:44:06 +01:00
gsp.rs gpu: nova-core: align LibosMemoryRegionInitArgument size to page size 2026-01-24 10:48:59 +09:00
Kconfig gpu: nova-core: select RUST_FW_LOADER_ABSTRACTIONS 2025-12-16 21:56:44 +09:00
Makefile
nova_core.rs gpu: nova-core: use CStr::from_bytes_until_nul() and remove util.rs 2026-01-07 19:36:11 +01:00
num.rs gpu: nova-core: num: add functions to safely convert a const value to a smaller type 2025-11-14 20:25:15 +09:00
regs.rs gpu: nova-core: add NV_PFALCON_FALCON_ENGINE::reset_engine() 2026-01-24 08:45:13 +09:00
sbuffer.rs gpu: nova-core: Implement the GSP sequencer 2025-11-15 21:05:50 +09:00
vbios.rs gpu: nova-core: add FalconUCodeDescV2 support 2026-01-24 10:48:59 +09:00