summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShrenuj Bansal <shrenujb@codeaurora.org>2015-07-02 16:08:53 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:04:45 -0700
commit40eb383998a792c1fa6983dfd3cf8c10c559339b (patch)
treec62d6ac6d2c75012ecec65115517ed3227a93e34 /include
parent1b043ecc99bbe74e7629806109b1376684267cf4 (diff)
msm: kgsl: Add EXEC permission to the unassign call
When calling hyp_assign to free a secure buffer we need to pass in RWX permissions so that when the Hypervisor unmaps the buffer and maps it back to HLOS, the HLOS is able to use the same memory for data and instructions. Change-Id: I71e06a81df85891fecb11c5f197acd54979d2887 Signed-off-by: Shrenuj Bansal <shrenujb@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/soc/qcom/secure_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/soc/qcom/secure_buffer.h b/include/soc/qcom/secure_buffer.h
index 321a15e04a6a..4a8cb1f647ca 100644
--- a/include/soc/qcom/secure_buffer.h
+++ b/include/soc/qcom/secure_buffer.h
@@ -30,6 +30,7 @@
#define PERM_READ 0x4
#define PERM_WRITE 0x2
+#define PERM_EXEC 0x1
#ifdef CONFIG_MSM_SECURE_BUFFER
int msm_secure_table(struct sg_table *table);