[PATCH v3 9/9] firmware: arm_scmi: Validate PCC shared memory signature

Sudeep Holla sudeep.holla at kernel.org
Wed Sep 2 01:25:19 PDT 2026


On Mon, Aug 24, 2026 at 01:24:50PM -0700, Jonathan Cameron wrote:
> On Thu, 13 Aug 2026 12:33:04 +0100
> Sudeep Holla <sudeep.holla at kernel.org> wrote:
> 
> > Validate the PCC shared memory signature when setting up an SCMI PCC
> > channel.
> > 
> > Reject channels whose shared memory signature does not encode
> > PCC_SIGNATURE combined with the PCC subspace ID, so misconfigured
> > firmware is caught before the transport starts using the shared memory
> > region.
> > 
> > Signed-off-by: Sudeep Holla <sudeep.holla at kernel.org>
> Interesting there aren't more checks on this in the various PCC users.
> Question for another day perhaps.
> 

Tried cleaning up all but some platforms like Hisilicon kunpeng complained
it will break their platforms. So added a warning in the core but I want
to enforce stricter check here for SCMI PCC.

> Seems correct to me.
> 
> Reviewed-by: Jonathan Cameron <jonathan.cameron at oss.qualcomm.com>
> 

Thanks!

-- 
Regards,
Sudeep



More information about the linux-arm-kernel mailing list