diff options
| author | Manoj Prabhu B <bmanoj@codeaurora.org> | 2017-01-27 11:57:10 +0530 |
|---|---|---|
| committer | Manoj Prabhu B <bmanoj@codeaurora.org> | 2017-01-27 12:40:57 +0530 |
| commit | 9c447e20beda81a4c52cb27a8fcfbee66277f42e (patch) | |
| tree | b6be30738ec22158494b5b9b821f85e2b991af6e | |
| parent | 8bb66a7e413624884e697d295b7e136f96209cd9 (diff) | |
memshare: Add EXEC permission to MSA0 memory
The MSA0 memory that is re-assigned back to host need to have RWX
permissions for it to be used as data as well as instructions.
CRs-Fixed: 1116100
Change-Id: I7f3984c9285f1b2658c6f0f30e74397fbc0c3427
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/memshare/msm_memshare.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soc/qcom/memshare/msm_memshare.c b/drivers/soc/qcom/memshare/msm_memshare.c index 5726c3277456..36d744a47ef5 100644 --- a/drivers/soc/qcom/memshare/msm_memshare.c +++ b/drivers/soc/qcom/memshare/msm_memshare.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -326,7 +326,7 @@ static int modem_notifier_cb(struct notifier_block *this, unsigned long code, int ret; u32 source_vmlist[2] = {VMID_HLOS, VMID_MSS_MSA}; int dest_vmids[1] = {VMID_HLOS}; - int dest_perms[1] = {PERM_READ|PERM_WRITE}; + int dest_perms[1] = {PERM_READ|PERM_WRITE|PERM_EXEC}; struct notif_data *notifdata = NULL; mutex_lock(&memsh_drv->mem_share); |
