diff options
| author | Volodymyr Babchuk <vlad.babchuk@gmail.com> | 2017-11-29 14:48:33 +0200 |
|---|---|---|
| committer | Victor Chong <victor.chong@linaro.org> | 2018-02-21 15:40:48 +0000 |
| commit | 8e7265bf47e51c94a272be4723a51b2ef3668901 (patch) | |
| tree | be926cfb21a68bc2b383e1199c4508c59f37d085 /Documentation/filesystems/dnotify_test.c | |
| parent | 765318c240e1a7c69f57d548138a98a24202376d (diff) | |
BACKPORT: tee: optee: add registered buffers handling into RPC calls
With latest changes to OP-TEE we can use any buffers as a shared memory.
Thus, it is possible for supplicant to provide part of own memory
when OP-TEE asks to allocate a shared buffer.
This patch adds support for such feature into RPC handling code.
Now when OP-TEE asks supplicant to allocate shared buffer, supplicant
can use TEE_IOC_SHM_REGISTER to provide such buffer. RPC handler is
aware of this, so it will pass list of allocated pages to OP-TEE.
Change-Id: I01a9970ff377848416d002bf89936a8220354873
Signed-off-by: Volodymyr Babchuk <vlad.babchuk@gmail.com>
[jw: fix parenthesis alignment in free_pages_list()]
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
(cherry picked from commit 53a107c812de3dd74707458aa751eb457718ff9e)
Signed-off-by: Victor Chong <victor.chong@linaro.org>
Diffstat (limited to 'Documentation/filesystems/dnotify_test.c')
0 files changed, 0 insertions, 0 deletions
