mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-17 22:23:45 -04:00
Introduce qcomtee_object, which represents an object in both QTEE and the kernel. QTEE clients can invoke an instance of qcomtee_object to access QTEE services. If this invocation produces a new object in QTEE, an instance of qcomtee_object will be returned. Similarly, QTEE can request services from by issuing a callback request, which invokes an instance of qcomtee_object. Implement initial support for exporting qcomtee_object to userspace and QTEE, enabling the invocation of objects hosted in QTEE and userspace through the TEE subsystem. Tested-by: Neil Armstrong <neil.armstrong@linaro.org> Tested-by: Harshal Dev <quic_hdev@quicinc.com> Acked-by: Sumit Garg <sumit.garg@oss.qualcomm.com> Signed-off-by: Amirreza Zarrabi <amirreza.zarrabi@oss.qualcomm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
27 lines
636 B
Plaintext
27 lines
636 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Generic Trusted Execution Environment Configuration
|
|
menuconfig TEE
|
|
tristate "Trusted Execution Environment support"
|
|
depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
|
|
select CRYPTO
|
|
select CRYPTO_SHA1
|
|
select DMA_SHARED_BUFFER
|
|
select GENERIC_ALLOCATOR
|
|
help
|
|
This implements a generic interface towards a Trusted Execution
|
|
Environment (TEE).
|
|
|
|
if TEE
|
|
|
|
config TEE_DMABUF_HEAPS
|
|
bool
|
|
depends on HAS_DMA && DMABUF_HEAPS
|
|
default y
|
|
|
|
source "drivers/tee/optee/Kconfig"
|
|
source "drivers/tee/amdtee/Kconfig"
|
|
source "drivers/tee/tstee/Kconfig"
|
|
source "drivers/tee/qcomtee/Kconfig"
|
|
|
|
endif
|