Re: [PATCH] gpu: nova-core: fix packed registry table size
From: Alexandre Courbot
Date: Mon Jul 27 2026 - 20:10:17 EST
On Thu Jul 23, 2026 at 3:54 PM JST, Alexandre Courbot wrote:
> `PACKED_REGISTRY_TABLE::size` describes the entire table, including its
> fixed-size header. `SetRegistry` currently initializes it with only the
> variable payload length, omitting the 8 bytes header.
>
> Fix this by using `CommandToGsp::size` to obtain the actual command
> size, including its header.
>
> Fixes: 19b0a6e7c2be ("gpu: nova-core: gsp: Add SetRegistry command")
> Reported-by: Sashiko <sashiko-bot@xxxxxxxxxx>
> Closes: https://lore.kernel.org/r/20260722075253.B6DDB1F00A3D@xxxxxxxxxxxxxxx
> Signed-off-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
Pushed to drm-rust-next, thanks!