Re: [PATCH 1/1] tee: amdtee: store buffer ID in tee_shm->sec_world_id
Jens Wiklander <[email protected]> Mon, 27 Apr 2026 15:43:08 +0200
| Newsgroups | org.trustedfirmware.lists.op-tee,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAHUa44EKNSRY+94Y-HzjCcdVX9c4N_FQ5fDpk_2_U3ZKjwAmHA@mail.gmail.com> |
Hi, On Wed, Apr 22, 2026 at 7:16 AM Rangasamy, Devaraj <[email protected]> wrote: > > On 27-03-2026 14:56, Rijo Thomas wrote: > > Drop struct amdtee_shm_data and the per-context shm_list. In > > handle_map_shmem() save the returned buf_id in shm->sec_world_id > > instead of allocating a list node. Use shm->sec_world_id (with > > get_buffer_id() removed) in amdtee_unmap_shmem() and in call.c when > > building memref params. Remove shm_list and shm_mutex from > > amdtee_context_data. > > > > Aligns amdtee with other TEE drivers (optee, tstee, qcomtee) that use > > tee_shm->sec_world_id for the secure-world handle. > > > > Signed-off-by: Rijo Thomas <[email protected]> > > Looks good. > > Reviewed-by: Devaraj Rangasamy <[email protected]> I'm picking up this. Cheers, Jens