firmware: arm_ffa: Stash the partition properties for query purposes
authorSudeep Holla <sudeep.holla@arm.com>
Wed, 17 Apr 2024 09:09:21 +0000 (10:09 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Thu, 18 Apr 2024 17:29:49 +0000 (18:29 +0100)
commit3c258bf6bf29d8c9f9b358c64f6e9f4510c91ff9
treebffe737dcbab3edb36a3c60424375aa5ea68687f
parent0370fb127ce3432a4081fe1415a947308cb827f1
firmware: arm_ffa: Stash the partition properties for query purposes

The properies obtained from the partition information descriptor as
part of initial partitions discovery is useful as it contain info
if the partition
- Runs in AArch64 or AArch32 execution state
- Can send and/or receive direct requests
- Can send and receive indirect message
- Does support receipt of notifications.

These can be used for querying before attempting to do any of the
above operations.

Link: https://lore.kernel.org/r/20240417090921.2866447-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