mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
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 <[email protected]> Reviewed-by: Gary Guo <[email protected]> Acked-by: Danilo Krummrich <[email protected]> Link: https://patch.msgid.link/[email protected] [[email protected]: GspArgumentsAligned -> GspArgumentsPadded] Signed-off-by: Alexandre Courbot <[email protected]>