From: Yeoreum Yun Date: Fri, 8 May 2026 17:54:15 +0000 (+0100) Subject: Revert "firmware: arm_ffa: Change initcall level of ffa_init() to rootfs_initcall" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7e8f21b9f0c229d68cf19a837cba82b5ac2d87;p=thirdparty%2Fkernel%2Flinux.git Revert "firmware: arm_ffa: Change initcall level of ffa_init() to rootfs_initcall" This reverts commit 0e0546eabcd6c19765a8dbf5b5db3723e7b0ea75, which was added to address ordering issues with the IMA LSM initialisation where the TPM would not be fully ready by the time IMA wanted it. This has been resolved within IMA by retrying setup during late_initcall_sync if the TPM is not available at first. Signed-off-by: Yeoreum Yun Link: https://patch.msgid.link/20260508-b4-ffa_plat_dev-v1-1-c5a30f8cf7b8@kernel.org Signed-off-by: Sudeep Holla --- diff --git a/drivers/firmware/arm_ffa/driver.c b/drivers/firmware/arm_ffa/driver.c index b9f17fda72432..8e1a070bbf830 100644 --- a/drivers/firmware/arm_ffa/driver.c +++ b/drivers/firmware/arm_ffa/driver.c @@ -2164,7 +2164,7 @@ free_drv_info: kfree(drv_info); return ret; } -rootfs_initcall(ffa_init); +module_init(ffa_init); static void __exit ffa_exit(void) {