]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface
authorSudeep Holla <sudeep.holla@arm.com>
Thu, 5 Oct 2023 14:45:00 +0000 (15:45 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Fri, 6 Oct 2023 14:33:13 +0000 (15:33 +0100)
commit3522be48d82b58821442f666eca8b4e547255810
tree2ecd8d2d778f0db3ef0e995cb161fd1c3d7978d2
parentfaa19623e3e1c8a69b1878132187a171d7a51f98
firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface

The receiver’s scheduler uses the FFA_NOTIFICATION_INFO_GET interface
to retrieve the list of endpoints that have pending notifications and
must be run. A notification could be signaled by a sender in the secure
world to a VM. The Hypervisor needs to determine which VM and vCPU
(in case a per-vCPU notification is signaled) has a pending notification
in this scenario. It must obtain this information through an invocation
of the FFA_NOTIFICATION_INFO_GET.

Add the implementation of the NOTIFICATION_INFO_GET interface
and prepare to use this to handle the schedule receiver interrupt.
Implementation of handling notifications will be added later.

Link: https://lore.kernel.org/r/20231005-ffa_v1-1_notif-v4-7-cddd3237809c@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c