mbox series

[GIT,PULL] TEE shared memory cleanup for v5.7

Message ID 20200228140925.GA12393@jade (mailing list archive)
State Mainlined, archived
Commit 758ecf13a41a9dc4f019c1381566132ef46c08ee
Headers show
Series [GIT,PULL] TEE shared memory cleanup for v5.7 | expand

Pull-request

https://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-cleanup-for-5.7

Message

Jens Wiklander Feb. 28, 2020, 2:09 p.m. UTC
Hello arm-soc maintainers,

Please pull these cleanup patches for shared memory in the TEE subsystem.

Thanks,
Jens


The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:

  Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)

are available in the Git repository at:

  https://git.linaro.org/people/jens.wiklander/linux-tee.git tags/tee-cleanup-for-5.7

for you to fetch changes up to 758ecf13a41a9dc4f019c1381566132ef46c08ee:

  tee: tee_shm_op_mmap(): use TEE_SHM_USER_MAPPED (2020-02-28 13:37:42 +0100)

----------------------------------------------------------------
Cleanup shared memory handing in TEE subsystem
The highlights are:
- Removing redundant or unused fields in struct tee_shm
- Only assign userspace shm IDs for shared memory objects originating from
  user space

----------------------------------------------------------------
Jens Wiklander (5):
      tee: remove linked list of struct tee_shm
      tee: remove unused tee_shm_priv_alloc()
      tee: don't assign shm id for private shms
      tee: remove redundant teedev in struct tee_shm
      tee: tee_shm_op_mmap(): use TEE_SHM_USER_MAPPED

 drivers/tee/tee_core.c    |  1 -
 drivers/tee/tee_private.h |  3 +-
 drivers/tee/tee_shm.c     | 85 +++++++++++++----------------------------------
 include/linux/tee_drv.h   | 19 +----------
 4 files changed, 27 insertions(+), 81 deletions(-)