Re: [PATCH 5/9] gpu: nova-core: gsp: fix resume_gsp_rm()'s error messages

From: Eliot Courtney

Date: Tue Nov 24 2026 - 04:06:20 EST


On Fri Nov 20, 2026 at 1:47 PM JST, John Hubbard wrote:
> resume_gsp_rm()'s error messages have two problems:
>
> * Both messages open with "Sequencer:", which assumes that the function
> knows which code is calling it, and that that will never change. This
> kind of tight coupling is almost never desirable in well-structured
> code.
>
> * One message prints the SEC2 mailbox value in decimal. That needlessly
> complicates looking up the error code, given that Open RM documents
> those values in hex.
>
> Remove the sequencer's name from both messages and name the GSP-RM
> resume instead, and print the SEC2 mailbox value in hexadecimal.
>
> Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
> ---

Reviewed-by: Eliot Courtney <ecourtney@xxxxxxxxxx>