[PATCH] firmware: arm_scmi: Drop the ARM architecture dependency

Michal Simek michal.simek at amd.com
Sun Nov 8 23:30:26 PST 2026



On 11/6/26 20:40, Han Gao via B4 Relay wrote:
> From: Han Gao <gaohan at iscas.ac.cn>
> 
> The SCMI core and the mailbox and shared memory transports only use
> generic kernel interfaces. Transports that need architecture support,
> such as SMC, already carry their own dependencies.
> 
> Drop the ARM and ARM64 dependency so that other architectures can use
> SCMI. Depend on HAS_IOMEM instead, for devm_ioremap().
> 
> Suggested-by: Michal Simek <michal.simek at amd.com>
> Signed-off-by: Han Gao <gaohan at iscas.ac.cn>
> ---
> This was patch 1 of the Zhihe A210 SoC series [1]. As Michal asked, it
> now goes on its own through the SCMI tree.
> 
> Since [1], it depends on HAS_IOMEM: Sashiko found that UML, which has
> no HAS_IOMEM, failed to link devm_ioremap().
> 
> Build tested on x86_64 without OF, i386, loongarch64, ppc64le, riscv64
> and arm64. On UML, SCMI can no longer be selected.
> 
> [1] https://patch.msgid.link/20261103-a210-scmi-v3-0-ee6b31580808@iscas.ac.cn
> ---
>   drivers/firmware/arm_scmi/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Michal Simek <michal.simek at amd.com>

Thanks,
Michal



More information about the linux-arm-kernel mailing list