Re: [PATCH 0/2] firmware: arm_scmi: fix shared memory and protocol table

From: Sudeep Holla

Date: Thu Nov 19 2026 - 08:55:53 EST


On Mon, 16 Nov 2026 12:31:51 +0000, Philip Radford wrote:
> Here is a short seires to address two SCMI bugs reported by Sashiko.
>
> Patch [1/2] slightly alters logic to avoid using an uninitialized
> reg_io_width value when selecting shared memory accessors.
>
> Patch [2/2] handles missing SCMI protocol ID tables in registration and
> unregistration paths.
>
> [...]

Hi Philip,

Please avoid using bug report as subject line also. I have rebased the
change on for-next/arm_fw/updates as I have moved files. Also I did
rewrite a bit of commit message and kept !id_table check consistent
across register and unregister. Please check the branch and shout if
you disagree.

Applied to sudeep.holla/linux (for-next/arm_fw/updates), thanks!

[1/2] firmware: arm_scmi: uninitialized reg_io_width in shmem_setup_iomap()
https://git.kernel.org/sudeep.holla/c/8db620083cf2
[2/2] firmware: arm_scmi: null pointer dereference in scmi_protocol_table_register()
https://git.kernel.org/sudeep.holla/c/99e55aac0f9c
--
Regards,
Sudeep