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: Neeti Desai <neetid@codeaurora.org>
This commit is contained in:
parent
4a7ae76ea2
commit
3dfe618eb3
1 changed files with 1 additions and 1 deletions
|
@ -1917,7 +1917,7 @@ static void arm_smmu_unprepare_pgtable(void *cookie, void *addr)
|
|||
struct arm_smmu_domain *smmu_domain = cookie;
|
||||
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};
|
||||
|
||||
if (smmu_domain->secure_vmid == VMID_INVAL)
|
||||
|
|
Loading…
Add table
Reference in a new issue