From bb320dbc4751f7ea0c37ffba07d14628e58081d0 Mon Sep 17 00:00:00 2001 From: Maksims Svecovs Date: Thu, 6 May 2021 14:17:00 +0100 Subject: [PATCH] feat(ff-a): change manifest messaging method Align documentation with changes of messaging method for partition manifest: - Bit[0]: support for receiving direct message requests - Bit[1]: support for sending direct messages - Bit[2]: support for indirect messaging - Bit[3]: support for managed exit Change the optee_sp_manifest to align with the new messaging method description. Signed-off-by: Maksims Svecovs Change-Id: I333e82c546c03698c95f0c77293018f8dca5ba9c --- docs/components/ffa-manifest-binding.rst | 14 +++++++------- plat/arm/board/fvp/fdts/optee_sp_manifest.dts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/components/ffa-manifest-binding.rst b/docs/components/ffa-manifest-binding.rst index 9e3919df3..437df6748 100644 --- a/docs/components/ffa-manifest-binding.rst +++ b/docs/components/ffa-manifest-binding.rst @@ -106,14 +106,14 @@ Partition Properties The "compatible" must be the string "arm,ffa-manifest-rx_tx-buffer". - messaging-method [mandatory] - - value type: - - Specifies which messaging methods are supported by the partition: + - value type: + - Specifies which messaging methods are supported by the partition, set bit + means the feature is supported, clear bit - not supported: - - 0x0: direct messaging method - - 0x1: indirect messaging method - - 0x2: both direct and indirect messaging methods - - 0x3: direct messaging method with managed exit support - - 0x4: both messaging methods with managed exit support + - Bit[0]: support for receiving direct message requests + - Bit[1]: support for sending direct messages + - Bit[2]: support for indirect messaging + - Bit[3]: support for managed exit - has-primary-scheduler - value type: diff --git a/plat/arm/board/fvp/fdts/optee_sp_manifest.dts b/plat/arm/board/fvp/fdts/optee_sp_manifest.dts index 928d0d3bf..07235b020 100644 --- a/plat/arm/board/fvp/fdts/optee_sp_manifest.dts +++ b/plat/arm/board/fvp/fdts/optee_sp_manifest.dts @@ -25,7 +25,7 @@ entrypoint-offset = <0x1000>; xlat-granule = <0>; /* 4KiB */ boot-order = <0>; - messaging-method = <0>; /* Direct messaging only */ + messaging-method = <3>; /* Direct messaging only */ run-time-model = <1>; /* Run to completion */ /* Boot protocol */