2019-12-27 06:20:19

by Rijo Thomas

[permalink] [raw]
Subject: [PATCH 1/4] tee: allow compilation of tee subsystem for AMD CPUs

Allow compilation of tee subsystem for AMD's CPUs which have a dedicated
AMD Secure Processor for Trusted Execution Environment (TEE).

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]>
---
drivers/tee/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig
index 676ffcb..4f3197d 100644
--- a/drivers/tee/Kconfig
+++ b/drivers/tee/Kconfig
@@ -2,7 +2,7 @@
# Generic Trusted Execution Environment Configuration
config TEE
tristate "Trusted Execution Environment support"
- depends on HAVE_ARM_SMCCC || COMPILE_TEST
+ depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
select DMA_SHARED_BUFFER
select GENERIC_ALLOCATOR
help
--
1.9.1


2019-12-27 18:37:48

by Gary R Hook

[permalink] [raw]
Subject: Re: [PATCH 1/4] tee: allow compilation of tee subsystem for AMD CPUs

On 12/26/19 11:24 PM, Rijo Thomas wrote:
> Allow compilation of tee subsystem for AMD's CPUs which have a dedicated
> AMD Secure Processor for Trusted Execution Environment (TEE).
>
> 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]>

> ---
> drivers/tee/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tee/Kconfig b/drivers/tee/Kconfig
> index 676ffcb..4f3197d 100644
> --- a/drivers/tee/Kconfig
> +++ b/drivers/tee/Kconfig
> @@ -2,7 +2,7 @@
> # Generic Trusted Execution Environment Configuration
> config TEE
> tristate "Trusted Execution Environment support"
> - depends on HAVE_ARM_SMCCC || COMPILE_TEST
> + depends on HAVE_ARM_SMCCC || COMPILE_TEST || CPU_SUP_AMD
> select DMA_SHARED_BUFFER
> select GENERIC_ALLOCATOR
> help
>