Re: [PATCH v14 01/32] firmware: arm_scmi: Add new SCMIv4.0 error codes definitions
From: Jonathan Cameron
Date: Mon Oct 19 2026 - 16:35:16 EST
On Fri, 16 Oct 2026 19:55:22 +0100
Cristian Marussi <cristian.marussi@xxxxxxx> wrote:
> SCMIv4.0 introduces a couple of new possible protocol error codes: add the
> needed definitions and mappings to Linux error values.
>
> Note that SCMI_PARTIAL_ERROR has to be handled specially, so it needs to be
> distinguishable.
>
> Reviewed-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
> ---
> v12 --> v13
> - use EBADMSG to map SCMI_PARTIAL_ERROR
That's a stretch given definition but I looked back at:
https://lore.kernel.org/all/arK7kLlrg491EsMf@pluto/
and appreciate the problem of running out of error codes..
Guess it is the best we can do,
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>
If you do a v15, maybe capture some reasoning in the change
log or the patch description itself.
Jonathan