[PATCH v14 01/32] firmware: arm_scmi: Add new SCMIv4.0 error codes definitions
Cristian Marussi
cristian.marussi at arm.com
Thu Nov 5 08:52:58 PST 2026
On Mon, Oct 19, 2026 at 01:34:36PM -0700, Jonathan Cameron wrote:
> On Fri, 16 Oct 2026 19:55:22 +0100
> Cristian Marussi <cristian.marussi at arm.com> wrote:
>
Hi,
thanks for your feedback, sorry for my generally delayed replies but I
am drowning in Sashiko reports :P
> > 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 at kernel.org>
> > Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
>
> > ---
> > 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..
>
Yes indeed it is not ideal BUT I crawled back and forth through errno.h
and I could not find anything better.
> Guess it is the best we can do,
> Reviewed-by: Jonathan Cameron <jonathan.cameron at oss.qualcomm.com>
>
> If you do a v15, maybe capture some reasoning in the change
> log or the patch description itself.
Yes I will...soon there will be a v15.
Thanks,
Cristian
More information about the linux-arm-kernel
mailing list