mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix tee: optee: add dynamic shared memory support
@ 2017-12-28 15:38 Jens Wiklander
  2017-12-28 15:38 ` [PATCH 1/2] tee: add start argument to shm_register callback Jens Wiklander
  2017-12-28 15:38 ` [PATCH 2/2] tee: optee: check type of registered shared memory Jens Wiklander
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Wiklander @ 2017-12-28 15:38 UTC (permalink / raw)
  To: linux-kernel, linux-arm-kernel, tee-dev
  Cc: Arnd Bergmann, zkong, bmanohar, Volodymyr Babchuk,
	Volodymyr Babchuk, thomas zeng, Jens Wiklander

Hi,

These two patches complements the previously posted patchset
"tee: optee: add dynamic shared memory support"
https://lwn.net/Articles/740242/

Tests are added to see that the registered shared memory cache attributes
are compatible with OP-TEE in secure world. Under normal circumstances they
will be compatible, but if memory has been previously mapped from a device
with special page attributes it could lead to trouble.

Thanks,
Jens

Jens Wiklander (2):
  tee: add start argument to shm_register callback
  tee: optee: check type of registered shared memory

 drivers/tee/optee/call.c          | 50 +++++++++++++++++++++++++++++++++++----
 drivers/tee/optee/optee_private.h |  6 +++--
 drivers/tee/tee_shm.c             |  2 +-
 include/linux/tee_drv.h           |  3 ++-
 4 files changed, 53 insertions(+), 8 deletions(-)

-- 
2.14.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-28 15:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-28 15:38 [PATCH 0/2] Fix tee: optee: add dynamic shared memory support Jens Wiklander
2017-12-28 15:38 ` [PATCH 1/2] tee: add start argument to shm_register callback Jens Wiklander
2017-12-28 15:38 ` [PATCH 2/2] tee: optee: check type of registered shared memory Jens Wiklander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®