Re: [PATCH v2 0/2] fix failure of integration IMA with tpm_crb_ffa
From: Jarkko Sakkinen <jarkko@kernel.org>
Date: 2025-06-11 16:40:12
Also in:
linux-integrity, lkml
From: Jarkko Sakkinen <jarkko@kernel.org>
Date: 2025-06-11 16:40:12
Also in:
linux-integrity, lkml
On Tue, Jun 10, 2025 at 04:22:04PM +0100, Yeoreum Yun wrote:
quoted
OK, if ffa_init() is leveled up in the initcall hierarchy, shouldn't that be enough as long as ko's can be found from initramfs?As you mentioned, this is handled in Patch #1. However, although ffa_init() is called first, unless tpm_crb_ffa_init() is also invoked, crb_acpi_driver_init() will fail with -EPROBE_DEFER. Please note that IMA is always built-in and cannot be built as a module.
Sure but if one needs IMA, then tpm_crb_ffa can be compiled as built-in with zero code changes. BR, Jarkko