]> git.ipfire.org Git - thirdparty/linux.git/commit
firmware: arm_ffa: Add support for FFA_MSG_SEND2
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 17 Apr 2024 09:09:31 +0000 (10:09 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 18 Apr 2024 17:29:50 +0000 (18:29 +0100)
commit02c19d84c7c5026624d181b8e4cdc8488134d013
treecf49514c80142ff501b34b949d4329d2dd1728e2
parent3c258bf6bf29d8c9f9b358c64f6e9f4510c91ff9
firmware: arm_ffa: Add support for FFA_MSG_SEND2

The FFA_MSG_SEND2 can be  used to transmit a partition message from
the Tx buffer of the sender(the driver in this case) endpoint to the Rx
buffer of the receiver endpoint.

An invocation of the FFA_MSG_SEND2 transfers the ownership of the Tx
buffer to the receiver endpoint(or any intermediate consumer). Completion
of an FFA_MSG_SEND2 invocation transfers the ownership of the buffer
back to the sender endpoint.

The framework defines the FFA_MSG_SEND2 interface to transmit a partition
message from the Tx buffer of the sender to the Rx buffer of a receiver
and inform the scheduler that the receiver must be run.

Link: https://lore.kernel.org/r/20240417090931.2866487-1-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c
include/linux/arm_ffa.h