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

Commit 61007379 authored by Neeti Desai's avatar Neeti Desai Committed by Patrick Daly
Browse files

msm: Update the permissions while making assign call



When memory that is assigned a particular VMID is re-assigned
back to HLOS, it needs to get RWX permissions so that HLOS can
use it for data as well as instructions.

Change-Id: Ib5413861de877d9081bdf5bd397f528293deb6e8
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent 7e4fa652
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1885,7 +1885,7 @@ static void arm_smmu_unassign_table(struct arm_smmu_domain *smmu_domain)
{
	int ret;
	int dest_vmids = VMID_HLOS;
	int dest_perms = PERM_READ | PERM_WRITE;
	int dest_perms = PERM_READ | PERM_WRITE | PERM_EXEC;
	int source_vmlist[2] = {VMID_HLOS, smmu_domain->secure_vmid};
	struct arm_smmu_pte_info *pte_info, *temp;