[PATCH v15 01/35] firmware: arm_scmi: Harden iterators state parsing

Cristian Marussi cristian.marussi at arm.com
Tue Nov 10 00:19:28 PST 2026


On Mon, Nov 09, 2026 at 01:57:13PM -0800, Jonathan Cameron wrote:
> On Mon,  9 Nov 2026 09:11:47 +0000
> Cristian Marussi <cristian.marussi at arm.com> wrote:
> 
> > Add checks in the core multi-part iterators support to detect generally
> > malformed and incosistent multi-part replies.
> 
> Spell check patch descriptions.  inconsistent.

Ah...checkpatch let me down another time

> 
> Otherwise seems fine but I'm too lazy to check all existing protocols for
> that minimum size!
>

Indeed I was too lazy to add a dedicated parameter to all the call-sites
so I verified that any possible standard/vendor protocol has that
minimum size as of now, since in fcat it is the minimum viable payload
needed to hold num_returned/num_remanining...if any future spec will
change this we'll evolve accordingly/...for now it is the simplest
approach (and kills a lot of Sashiko complaints scattered all over :P)
 
Thanks,
Cristian



More information about the linux-arm-kernel mailing list