soc: qcom: rmtfs-mem: Add support for assigning memory to remote
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 13 Feb 2018 01:37:23 +0000 (17:37 -0800)
committerAndy Gross <andy.gross@linaro.org>
Fri, 9 Mar 2018 00:40:24 +0000 (18:40 -0600)
commitfa65f8045137d061134c15233d35a089cc85b87e
tree732a6172594209bc236ae2eec47d2eccb0864ce3
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
soc: qcom: rmtfs-mem: Add support for assigning memory to remote

On some platform the remote processor's memory map is not statically
configured in TrustZone, so each memory region that is to be accessed by
the remote needs a call into TrustZone to set up the remote's
permissions.

Implement this for the rmtfs memory driver, to give the modem on 8996
access to the shared file system buffers.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/Kconfig
drivers/soc/qcom/rmtfs_mem.c