diff options
| author | Rijo Thomas <Rijo-john.Thomas@amd.com> | 2026-03-27 12:26:07 +0300 |
|---|---|---|
| committer | Jens Wiklander <jens.wiklander@linaro.org> | 2026-04-27 15:13:08 +0300 |
| commit | 84a1e6179bd24dc10e47f6fa2b36f0ed345e68d8 (patch) | |
| tree | 0415c3e8c84d1adbba75e504de6e774fb78754b5 /include/linux/debugobjects.h | |
| parent | 028ef9c96e96197026887c0f092424679298aae8 (diff) | |
| download | linux-84a1e6179bd24dc10e47f6fa2b36f0ed345e68d8.tar.xz | |
tee: amdtee: store buffer ID in tee_shm->sec_world_id
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 <Rijo-john.Thomas@amd.com>
Reviewed-by: Devaraj Rangasamy <Devaraj.Rangasamy@amd.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
