OSDN Git Service

memshare: Port and add snapshot of changes from msm-3.10
authorMohit Aggarwal <maggarwa@codeaurora.org>
Fri, 17 Jul 2015 11:13:48 +0000 (16:43 +0530)
committerDavid Keitel <dkeitel@codeaurora.org>
Tue, 22 Mar 2016 18:08:13 +0000 (11:08 -0700)
commit3565c0340c40306ea973a264e9eaa27036ec9b49
treea172db850e0668762d081b0671f6cf1a60e6ec1e
parentfbde4188a5fe5a87ccfd2ab34f40ffe9237b1b25
memshare: Port and add snapshot of changes from msm-3.10

Port the memshare driver and apply the following memshare driver
changes taken from msm-3.10 kernel branch as of msm-3.10 commit
4493220f memshare: Boot time allocation and handling
multiple clients
2ae4997a memshare: Donot re-allocate the memory for the
clients
059dcd59 memshare: Do not overwrite the response for the
failure case
ed6d183f memshare: Change the compatible property field
for child node
b473fc4e2 memshare: Free the memory after XPU unlocking is
done
95c114c39 memshare: Add query size api support for clients
60f310d4e memshare: Change dma attribute to
DMA_ATTR_NO_KERNEL_MAPPING
73075545 memshare: Remove local connection status variable
98dd2908 memshare: Place error check to prevent out of
bound access

Change-Id: Iecf0a9828efd1d56c309a2af882c13ce36e7fc06
Signed-off-by: Katish Paran <kparan@codeaurora.org>
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/Makefile
drivers/soc/qcom/memshare/Kconfig [new file with mode: 0644]
drivers/soc/qcom/memshare/Makefile [new file with mode: 0644]
drivers/soc/qcom/memshare/heap_mem_ext_v01.c [new file with mode: 0644]
drivers/soc/qcom/memshare/heap_mem_ext_v01.h [new file with mode: 0644]
drivers/soc/qcom/memshare/msm_memshare.c [new file with mode: 0644]
drivers/soc/qcom/memshare/msm_memshare.h [new file with mode: 0644]