]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Add checks for the notification enabled state
authorSudeep Holla <sudeep.holla@arm.com>
Tue, 24 Oct 2023 10:56:19 +0000 (11:56 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 13 Nov 2023 11:51:26 +0000 (11:51 +0000)
commitf4bfcaee34bc9527274710884f8d14039f3ee506
treeeb9a3436721eb58b16fdc399696e840025b21173
parent6f47023f7a52f3482937e9271ba41570b8752067
firmware: arm_ffa: Add checks for the notification enabled state

We need to check if the FF-A notifications are enabled or not in all
the notification operations that are accessible for the FF-A device
from the FF-A driver. This helps to avoid making calls to the FF-A
firmware even if the notification setup has failed.

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