Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84d11863 authored by Sathish Ambley's avatar Sathish Ambley
Browse files

msm: ADSPRPC: Add exec permission for hyp_assign_phys



Add execute permission for hyp_assign_phys for adsp shared
memory region to allow for the memory to be reused by other user
space processes when this is not used by the remote processor.

Change-Id: I4a116dfdad85b57f0706a9480b3eb1c09f079dbb
Acked-by: default avatarViswanatham Paduchuri <vpaduchu@qti.qualcomm.com>
Signed-off-by: default avatarSathish Ambley <sathishambley@codeaurora.org>
parent 492b05c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2470,7 +2470,7 @@ static int fastrpc_probe(struct platform_device *pdev)
			int srcVM[1] = {VMID_HLOS};
			int destVM[4] = {VMID_HLOS, VMID_MSS_MSA, VMID_SSC_Q6,
						VMID_ADSP_Q6};
			int destVMperm[4] = {PERM_READ | PERM_WRITE,
			int destVMperm[4] = {PERM_READ | PERM_WRITE | PERM_EXEC,
				PERM_READ | PERM_WRITE | PERM_EXEC,
				PERM_READ | PERM_WRITE | PERM_EXEC,
				PERM_READ | PERM_WRITE | PERM_EXEC,