]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Allow FF-A initialisation even when notification fails
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 24 Oct 2023 10:56:17 +0000 (11:56 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 13 Nov 2023 11:51:26 +0000 (11:51 +0000)
commit95520fc07743d3f58e8872acd72e928b09fbc143
tree1a78e77cb5a413333b1ddaee849cf52cd0e01802
parent3fad96e9b21bed214c1593d7d7fb3e40d1fbf6f4
firmware: arm_ffa: Allow FF-A initialisation even when notification fails

FF-A notifications are optional feature in the specification. Currently
we allow to continue if the firmware reports no support for the
notifications. However, we fail to continue and complete the FF-A
driver initialisation if the notification setup fails for any reason.

Let us allow the FF-A driver to complete the initialisation even if the
notification fails to setup. We will just flag the error and continue
to provide other features in the driver.

Link: https://lore.kernel.org/r/20231024-ffa-notification-fixes-v1-1-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