[PATCH] KEYS: trusted: tee: use tee_shm_register_alloc_buf()
Jens Wiklander
jens.wiklander at linaro.org
Mon Aug 21 10:55:11 UTC 2023
On Mon, Aug 21, 2023 at 11:35 AM Sumit Garg <sumit.garg at linaro.org> wrote:
[snip]
> Actually thinking about it more, let's rework
> tee_shm_register_kernel_buf() to be tee_shm_register_kernel_pages() to
> get aligned as we agreed here [1]. This would then shift the
> responsibility to check for duplicate pages to kernel clients rather
> than the TEE driver (don't need to bother about sub page buffers).
>
> [1] https://lists.trustedfirmware.org/archives/list/op-tee@lists.trustedfirmware.org/thread/Y224PTCQZPKLH2INVWWPRUZM4MDUPYL7/
Sounds good, I assume this will not affect tee_shm_alloc_kernel_buf().
Thanks,
Jens
More information about the Linux-security-module-archive
mailing list