]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_scmi: optee: Rework transport probe sequence
authorCristian Marussi <cristian.marussi@arm.com>
Sun, 10 May 2026 16:05:27 +0000 (17:05 +0100)
committerSudeep Holla <sudeep.holla@kernel.org>
Thu, 21 May 2026 16:31:51 +0000 (17:31 +0100)
commit524abd2fa6907ebe2762342be339afcc5b227dc4
tree079e4d2b33ae502a12ac8af55fe326daa4c81448
parentc08051901a55f8574968b606f960a70415be303c
firmware: arm_scmi: optee: Rework transport probe sequence

Use the new per-instance transport handles helpers to synchronize and
optionally defer the core SCMI driver probe up until the transport driver
has completely been initialized and it is fully operational as a supplier.

Introduce proper module init/exit routines while removing the ugly trick of
registering a driver from within the probe sequence of another one, just to
avoid to have to deal with probe deferrals.

Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://patch.msgid.link/20260510160527.3537474-5-cristian.marussi@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
drivers/firmware/arm_scmi/transports/optee.c