Earlier TEE subsystem assumed to refcount all the memory pages to be
shared with TEE implementation to be refcounted. However, the slab
allocations within the kernel don't allow refcounting kernel pages.
It is rather better to trust the kernel clients to not free pages while
being shared with TEE implementation. Hence, remove refcounting of kernel
pages from register_shm_helper() API.
Fixes:
|
||
|---|---|---|
| .. | ||
| amdtee | ||
| optee | ||
| qcomtee | ||
| tstee | ||
| Kconfig | ||
| Makefile | ||
| tee_core.c | ||
| tee_heap.c | ||
| tee_private.h | ||
| tee_shm.c | ||
| tee_shm_pool.c | ||