aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavidson K <davidson.kumaresan@arm.com>2021-02-05 12:29:37 +0530
committerGy├Ârgy Szing <gyorgy.szing@arm.com>2021-07-02 08:32:00 +0200
commiteff9cfdac7c4eb2e9a79f21a7efe374226673ea7 (patch)
tree0336e6c445cd15afed8fe39ad1455457a5f0416d
parent2075a217e87fe18f6be4a3be4f949253bdf6c5a2 (diff)
downloadtrusted-services-eff9cfdac7c4eb2e9a79f21a7efe374226673ea7.tar.gz
Change instruction access permissions of shared memory
According to the FFA specificaiton v1.1 (Section 8.11.3 - Instruction Access Permissions Usage) the instruction access permission of the memory that has to be shared should be set as "Not specified and must be ignored" by the Lender in an invocation of FFA_MEM_SHARE or FFA_MEM_LEND ABIs. Signed-off-by: Davidson K <davidson.kumaresan@arm.com> Change-Id: I6d84c46da8c648f93673afd7cf06a88cd4de139e
-rw-r--r--components/rpc/ffarpc/caller/sp/ffarpc_caller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/rpc/ffarpc/caller/sp/ffarpc_caller.c b/components/rpc/ffarpc/caller/sp/ffarpc_caller.c
index 07a2dca..5f38194 100644
--- a/components/rpc/ffarpc/caller/sp/ffarpc_caller.c
+++ b/components/rpc/ffarpc/caller/sp/ffarpc_caller.c
@@ -226,7 +226,7 @@ int ffarpc_caller_open(struct ffarpc_caller *s, uint16_t dest_partition_id, uint
desc.mem_region_attr.normal_memory.shareability = sp_shareability_inner_shareable;
acc_desc.data_access = sp_data_access_read_write;
- acc_desc.instruction_access = sp_instruction_access_not_executable;
+ acc_desc.instruction_access = sp_instruction_access_not_specified;
acc_desc.receiver_id = dest_partition_id;
region.address = shared_buffer;