diff options
| author | John Hubbard <jhubbard@nvidia.com> | 2026-09-29 20:41:43 -0700 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-10-02 21:50:17 +0900 |
| commit | d3cb3ed1a2ddd7cb77d9d270d82d3177ee744d1f (patch) | |
| tree | 8723b2c3ab814293d215ac9b857a34f6ca8c28c1 /tools/lib/python/kdoc | |
| parent | 0c551cdc465b9c99da33a21d6ee3b274cfda7006 (diff) | |
gpu: nova-core: return ENOMSG for an unmatched GSP message
The GSP posts unsolicited events on the same queue as command replies,
so a receive that asks for one message type has to report that the
message at the queue head was a different one.
That case returned ERANGE, which means a value outside a valid range and
says nothing about a message.
Return ENOMSG, no message of the desired type, instead.
Suggested-by: Gary Guo <gary@garyguo.net>
Suggested-by: Alexandre Courbot <acourbot@nvidia.com>
Assisted-by: LLM
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patch.msgid.link/20260930034148.590687-11-jhubbard@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
