diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2022-09-07 15:52:35 +0100 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-09-08 11:30:34 +0100 |
commit | e57fba9105fac60d81a7ff2ce70d347d7ae95943 (patch) | |
tree | 1005d5a07d0697d9f929ce7c97f80767f0567edb /drivers/tee | |
parent | cb1f4c2c15bb708b1ec8c70926c43ab6b6c93ecb (diff) |
firmware: arm_ffa: Use FFA_FEATURES to detect if native versions are supported
Currently, the ffa_dev->mode_32bit is use to detect if the native 64-bit
or 32-bit versions of FF-A ABI needs to be used. However for the FF-A
memory ABIs, it is not dependent on the ffa_device(i.e. the partition)
itself, but the partition manager(SPM).
So, the FFA_FEATURES can be use to detect if the native 64bit ABIs are
supported or not and appropriate calls can be made based on that.
Use FFA_FEATURES to detect if native versions of MEM_LEND or MEM_SHARE
are implemented and make of the same to use native memory ABIs later on.
Link: https://lore.kernel.org/r/20220907145240.1683088-6-sudeep.holla@arm.com
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/tee')
0 files changed, 0 insertions, 0 deletions