Messages in this thread | | | From | Sudeep Holla <> | Subject | [PATCH RFT 00/12] firmware: arm_ffa: Add FF-A v1.1 notifications support | Date | Thu, 3 Aug 2023 20:02:04 +0100 |
| |
The series adds initial support for the notifications added in FF-A v1.1 The notification mechanism enables a requester/sender endpoint to notify a service provider/receiver endpoint about an event with non-blocking semantics.
A notification is akin to the doorbell between two endpoints in a communication protocol that is based upon the doorbell/mailbox mechanism.
The framework is responsible for the delivery of the notification from the sender to the receiver without blocking the sender. The receiver endpoint relies on the OS scheduler for allocation of CPU cycles to handle a notification.
OS is referred as the receiver’s scheduler in the context of notifications. The framework is responsible for informing the receiver’s scheduler that the receiver must be run since it has a pending notification.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> --- Sudeep Holla (12): firmware: arm_ffa: Update the FF-A command list with v1.1 additions firmware: arm_ffa: Implement notification bitmap create and destroy interfaces firmware: arm_ffa: Implement the notification bind and unbind interface firmware: arm_ffa: Implement the FFA_RUN interface firmware: arm_ffa: Implement the FFA_NOTIFICATION_SET interface firmware: arm_ffa: Implement the FFA_NOTIFICATION_GET interface firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface firmware: arm_ffa: Initial support for scheduler receiver interrupt firmware: arm_ffa: Add schedule receiver callback mechanism firmware: arm_ffa: Add interfaces to request notification callbacks firmware: arm_ffa: Add interface to send a notification to a given partition firmware: arm_ffa: Add notification handling mechanism
drivers/firmware/arm_ffa/driver.c | 700 +++++++++++++++++++++++++++++++++++++- include/linux/arm_ffa.h | 41 +++ 2 files changed, 740 insertions(+), 1 deletion(-) --- base-commit: 5d0c230f1de8c7515b6567d9afba1f196fb4e2f4 change-id: 20230803-ffa_v1-1_notif-e11bc9459962
Best regards, -- Regards, Sudeep
| |