]> git.itanic.dy.fi Git - linux-stable/commit
firmware: arm_ffa: Split up ffa_ops into info, message and memory operations
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 7 Sep 2022 14:52:40 +0000 (15:52 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 8 Sep 2022 10:34:04 +0000 (11:34 +0100)
commit5b0c6328e47dccf552996ca711005ca3f44034e9
treec0250a9275b6acf3ccf050558374de06bebfc47a
parent106b11b1ccd5a43432d9517f4a26629a1658cfe6
firmware: arm_ffa: Split up ffa_ops into info, message and memory operations

In preparation to make memory operations accessible for a non
ffa_driver/device, it is better to split the ffa_ops into different
categories of operations: info, message and memory. The info and memory
are ffa_device independent and can be used without any associated
ffa_device from a non ffa_driver.

However, we don't export these info and memory APIs yet without the user.
The first users of these APIs can export them.

Link: https://lore.kernel.org/r/20220907145240.1683088-11-sudeep.holla@arm.com
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c
drivers/tee/optee/ffa_abi.c
include/linux/arm_ffa.h