diff options
| author | Alexandre Courbot <acourbot@nvidia.com> | 2026-07-23 15:54:46 +0900 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-07-28 08:54:24 +0900 |
| commit | 93b9511a3bba7f31d95502e5f912f0a476b0cf4a (patch) | |
| tree | 919a6d7438efc85ef7daa70a7abdd67a8591aaa6 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 6dcbb4b1320fa91fee349462a52bb69135f2e45e (diff) | |
gpu: nova-core: fix packed registry table size
`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@kernel.org>
Closes: https://lore.kernel.org/r/20260722075253.B6DDB1F00A3D@smtp.kernel.org
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260723-nova-registry-size-fix-v1-1-8f471ba00ab4@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
