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>
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)