]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Setup the partitions after the notification initialisation
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 24 Oct 2023 10:56:18 +0000 (11:56 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 13 Nov 2023 11:51:26 +0000 (11:51 +0000)
commit6f47023f7a52f3482937e9271ba41570b8752067
tree5f17492835f9d63b5b5af6c5b938196c215b88d0
parent95520fc07743d3f58e8872acd72e928b09fbc143
firmware: arm_ffa: Setup the partitions after the notification initialisation

Currently the notifications are setup of the partitions are probed and
FF-A devices are added on the FF-A bus. The FF-A driver probe can be
called even before the FF-A notification setup happens which is wrong
and may result in failure or misbehaviour in the FF-A partition device
probe.

In order to ensure the FF-A notifications are setup before the FF-A
devices are probed, let us move the FF-A partition setup after the
completion of FF-A notification setup.

Link: https://lore.kernel.org/r/20231024-ffa-notification-fixes-v1-2-d552c0ec260d@arm.com
Tested-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c