mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
Adds AMD-TEE driver. * targets AMD APUs which has AMD Secure Processor with software-based Trusted Execution Environment (TEE) support * registers with TEE subsystem * defines tee_driver_ops function callbacks * kernel allocated memory is used as shared memory between normal world and secure world. * acts as REE (Rich Execution Environment) communication agent, which uses the services of AMD Secure Processor driver to submit commands for processing in TEE environment Cc: Ard Biesheuvel <[email protected]> Cc: Tom Lendacky <[email protected]> Acked-by: Jens Wiklander <[email protected]> Co-developed-by: Devaraj Rangasamy <[email protected]> Signed-off-by: Devaraj Rangasamy <[email protected]> Signed-off-by: Rijo Thomas <[email protected]> Reviewed-by: Gary R Hook <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
21 lines
475 B
Plaintext
21 lines
475 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Generic Trusted Execution Environment Configuration
|
|
config TEE
|
|
tristate "Trusted Execution Environment support"
|
|
depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
|
|
select DMA_SHARED_BUFFER
|
|
select GENERIC_ALLOCATOR
|
|
help
|
|
This implements a generic interface towards a Trusted Execution
|
|
Environment (TEE).
|
|
|
|
if TEE
|
|
|
|
menu "TEE drivers"
|
|
|
|
source "drivers/tee/optee/Kconfig"
|
|
source "drivers/tee/amdtee/Kconfig"
|
|
endmenu
|
|
|
|
endif
|