diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2022-09-07 17:52:39 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2022-09-08 13:33:15 +0300 |
commit | 106b11b1ccd5a43432d9517f4a26629a1658cfe6 (patch) | |
tree | 7f9cd59e0db2caed5375ec05fedb046d5cef192f /include/linux/arm_ffa.h | |
parent | bb1be749850055d88d839eff0962e5915788f228 (diff) | |
download | linux-106b11b1ccd5a43432d9517f4a26629a1658cfe6.tar.xz |
firmware: arm_ffa: Set up 32bit execution mode flag using partiion property
FF-A v1.1 adds a flag in the partition properties to indicate if the
partition runs in the AArch32 or AArch64 execution state. Use the same
to set-up the 32-bit execution flag mode in the ffa_dev automatically
if the detected firmware version is above v1.0 and ignore any requests
to do the same from the ffa_driver.
Link: https://lore.kernel.org/r/20220907145240.1683088-10-sudeep.holla@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'include/linux/arm_ffa.h')
-rw-r--r-- | include/linux/arm_ffa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/arm_ffa.h b/include/linux/arm_ffa.h index 09567ffd1f49..5964b6104996 100644 --- a/include/linux/arm_ffa.h +++ b/include/linux/arm_ffa.h @@ -106,6 +106,8 @@ struct ffa_partition_info { #define FFA_PARTITION_DIRECT_SEND BIT(1) /* partition can send and receive indirect messages. */ #define FFA_PARTITION_INDIRECT_MSG BIT(2) +/* partition runs in the AArch64 execution state. */ +#define FFA_PARTITION_AARCH64_EXEC BIT(8) u32 properties; u32 uuid[4]; }; |