]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Revert "firmware: arm_ffa: Change initcall level of ffa_init() to rootfs_initcall"
authorYeoreum Yun <yeoreum.yun@arm.com>
Fri, 8 May 2026 17:54:15 +0000 (18:54 +0100)
committerSudeep Holla <sudeep.holla@kernel.org>
Sun, 17 May 2026 11:42:27 +0000 (12:42 +0100)
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 <yeoreum.yun@arm.com>
Link: https://patch.msgid.link/20260508-b4-ffa_plat_dev-v1-1-c5a30f8cf7b8@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
drivers/firmware/arm_ffa/driver.c

index b9f17fda7243275688db86e820495c81bf82c578..8e1a070bbf83053e6fa8f990bee8d0b49926a89d 100644 (file)
@@ -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)
 {