Re: [PATCH] KEYS: trusted: tee: use tee_shm_register_alloc_buf()
From: Jens Wiklander
Date: Mon Aug 21 2023 - 06:55:26 EST
On Mon, Aug 21, 2023 at 11:35 AM Sumit Garg <sumit.garg@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxx/thread/Y224PTCQZPKLH2INVWWPRUZM4MDUPYL7/
Sounds good, I assume this will not affect tee_shm_alloc_kernel_buf().
Thanks,
Jens