Re: [PATCH] gpu: nova-core: fix packed registry table size
"Alexandre Courbot" <[email protected]> Tue, 28 Jul 2026 09:09:49 +0900
| Newsgroups | dev.linux.lists.nova-gpu,org.freedesktop.lists.dri-devel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
> Closes: https://lore.kernel.org/r/[email protected]=
.org
> Signed-off-by: Alexandre Courbot <[email protected]>
Pushed to drm-rust-next, thanks!