[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHUa44GjxLxzDSRsufvR35HRYpJ0S9iAXaN8cMz-V1B=HVBzHw@mail.gmail.com>
Date: Mon, 21 Aug 2023 12:55:11 +0200
From: Jens Wiklander <jens.wiklander@...aro.org>
To: Sumit Garg <sumit.garg@...aro.org>
Cc: linux-integrity@...r.kernel.org, keyrings@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, op-tee@...ts.trustedfirmware.org,
James Bottomley <jejb@...ux.ibm.com>,
Jarkko Sakkinen <jarkko@...nel.org>,
Mimi Zohar <zohar@...ux.ibm.com>
Subject: Re: [PATCH] KEYS: trusted: tee: use tee_shm_register_alloc_buf()
On Mon, Aug 21, 2023 at 11:35 AM Sumit Garg <sumit.garg@...aro.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
Powered by blists - more mailing lists