diff options
| author | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-12-21 10:38:52 -0800 |
|---|---|---|
| committer | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-12-21 15:12:15 -0800 |
| commit | c4f8934a71801956eecf7768bbd55709356260ef (patch) | |
| tree | 79c7f311ab49093c58858d91cbf0d6dcbe1b182a | |
| parent | e76c8c8e7303d56f8d3ca34dc862fac469eaafcb (diff) | |
icnss: Add EXEC permission when assigning the MSA0 back to host
When MSA0 memory is re-assigned back to host, it needs to get
RWX permissions so that it can be used for data as well as
instructions.
CRs-Fixed: 1104183
Change-Id: I58e19def0042022046e730dd97008a9e1c25b6d6
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/icnss.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/icnss.c b/drivers/soc/qcom/icnss.c index 49510bfd6b24..c3792d5a72ac 100644 --- a/drivers/soc/qcom/icnss.c +++ b/drivers/soc/qcom/icnss.c @@ -781,7 +781,7 @@ static int icnss_unmap_msa_permissions(struct icnss_priv *priv, u32 index) u32 size; u32 dest_vmids[1] = {VMID_HLOS}; int source_vmlist[3] = {VMID_MSS_MSA, VMID_WLAN, 0}; - int dest_perms[1] = {PERM_READ|PERM_WRITE}; + int dest_perms[1] = {PERM_READ|PERM_WRITE|PERM_EXEC}; int source_nelems = 0; int dest_nelems = sizeof(dest_vmids)/sizeof(u32); |
