diff options
author | 2023-02-03 20:06:33 -0800 | |
---|---|---|
committer | 2023-02-13 14:16:39 +0100 | |
commit | c83900393aa133d5fefdbf2ab3377c7fbeec0c07 (patch) | |
tree | b34e3beec3774bf30a233cac4932c5e97df8a481 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | highmem: Enhance is_kmap_addr() to check kmap_local_page() mappings (diff) | |
download | wireguard-linux-c83900393aa133d5fefdbf2ab3377c7fbeec0c07.tar.xz wireguard-linux-c83900393aa133d5fefdbf2ab3377c7fbeec0c07.zip |
tee: Remove vmalloc page support
The kernel pages used by shm_get_kernel_pages() are allocated using
GFP_KERNEL through the following call stack:
trusted_instantiate()
trusted_payload_alloc() -> GFP_KERNEL
<trusted key op>
tee_shm_register_kernel_buf()
register_shm_helper()
shm_get_kernel_pages()
Where <trusted key op> is one of:
trusted_key_unseal()
trusted_key_get_random()
trusted_key_seal()
Remove the vmalloc page support from shm_get_kernel_pages(). Replace
with a warn on once.
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: "Fabio M. De Francesco" <fmdefrancesco@gmail.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions