Re: [PATCH v2] firmware: qcom: Build the TrustZone memory allocator into qcom-scm

From: Bjorn Andersson

Date: Fri Dec 04 2026 - 18:38:00 EST



On Tue, 24 Nov 2026 08:59:13 -0500, Sasha Levin wrote:
> With QCOM_TZMEM_MODE_SHMBRIDGE=y, qcom_tzmem.ko calls
> qcom_scm_shm_bridge_enable(), qcom_scm_shm_bridge_create() and
> qcom_scm_shm_bridge_delete() in qcom-scm.ko, and qcom-scm.ko calls
> qcom_tzmem_alloc() and friends. With QCOM_SCM=m the two modules depend
> on each other, neither can be loaded first, and modules_install fails:
>
> depmod: ERROR: Cycle detected: qcom_scm -> qcom_tzmem -> qcom_scm
> depmod: ERROR: Found 2 modules in dependency cycles!
>
> [...]

Applied, thanks!

[1/1] firmware: qcom: Build the TrustZone memory allocator into qcom-scm
commit: a9f15b53ef8543c0b7021287a05666c2f0b1cb40

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>