[PATCH 2/3] arm_ffa.h: add properties bit related direct msg version 2

From: Yeoreum Yun
Date: Mon Nov 25 2024 - 04:53:23 EST


From: Levi Yun <yeoreum.yun@xxxxxxx>

According to FF-A specificaiton [0], There are flags to be used to
check whether partition supports send/receive direct msg version 2.

Add related flags.

Link: https://developer.arm.com/documentation/den0077/latest [0]
Signed-off-by: Yeoreum Yun <yeoreum.yun@xxxxxxx>
---
include/linux/arm_ffa.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/include/linux/arm_ffa.h b/include/linux/arm_ffa.h
index 3fb9c7a3453b..b697675c76ba 100644
--- a/include/linux/arm_ffa.h
+++ b/include/linux/arm_ffa.h
@@ -238,6 +238,10 @@ struct ffa_partition_info {
#define FFA_PARTITION_NOTIFICATION_RECV BIT(3)
/* partition runs in the AArch64 execution state. */
#define FFA_PARTITION_AARCH64_EXEC BIT(8)
+/* partition supports receipt of direct requests version 2 */
+#define FFA_PARTITION_DIRECT_RECV_V2 BIT(9)
+/* partition can send direct requests. */
+#define FFA_PARTITION_DIRECT_SEND_V2 BIT(10)
u32 properties;
u32 uuid[4];
};
--
LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}