summaryrefslogtreecommitdiff
path: root/include/linux/trusty/arm_ffa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/trusty/arm_ffa.h')
-rw-r--r--include/linux/trusty/arm_ffa.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/trusty/arm_ffa.h b/include/linux/trusty/arm_ffa.h
index ab7b2af..95d31b3 100644
--- a/include/linux/trusty/arm_ffa.h
+++ b/include/linux/trusty/arm_ffa.h
@@ -36,6 +36,13 @@
SMC_FASTCALL64_NR(SMC_ENTITY_SHARED_MEMORY, nr)
/**
+ * FF-A specification mentions explicitly about '4K pages'. This should
+ * not be confused with the kernel PAGE_SIZE, which is the translation
+ * granule kernel is configured and may be one among 4K, 16K and 64K.
+ */
+#define FFA_PAGE_SIZE SZ_4K
+
+/**
* typedef ffa_endpoint_id16_t - Endpoint ID
*
* Current implementation only supports VMIDs. FFA spec also support stream