From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752058AbeAXBb5 (ORCPT ); Tue, 23 Jan 2018 20:31:57 -0500 Received: from mail-pf0-f193.google.com ([209.85.192.193]:40077 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751807AbeAXBb4 (ORCPT ); Tue, 23 Jan 2018 20:31:56 -0500 X-Google-Smtp-Source: AH8x224Eih0lKFOfsFh+yasibBdoh9tf+YVyigflM5KrfTFtPGy3PvrVqXc4wxGRrUB8PBBC1jDs9A== Date: Wed, 24 Jan 2018 09:31:01 +0800 From: Peng Fan To: Peng Fan Cc: shawnguo@kernel.org, fabio.estevam@nxp.com, kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com Subject: Re: [PATCH] ARM: imx_v6_v7_defconfig: enable OP-TEE Message-ID: <20180124013101.GA9401@shlinux2> References: <1515145235-12062-1-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1515145235-12062-1-git-send-email-peng.fan@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jan 05, 2018 at 05:40:35PM +0800, Peng Fan wrote: >This patch enables configs for Trusted Execution Environment(TEE) and >Open Portable Trusted Execution Environment(OP-TEE). > >With Linux running in Trustzone non-secure world, OP-TEE OS runs in >secure world, linux could use secure services provided by OP-TEE. >With TEE/OP-TEE options selected, use the bindings >in Documentation/devicetree/bindings/arm/firmware/linaro,optee-tz.txt >to let the driver probe work. > >On i.MX6/7, now the bootflow is U-Boot->OP-TEE->Linux, OP-TEE will >automatically create that node. > >Signed-off-by: Peng Fan >--- > >V1: > Tested on i.MX7D-SDB with/without OP-TEE OS. > OP-TEE needs https://github.com/OP-TEE/optee_os/pull/2052 This OP-TEE OS change has been merged. Any comments on this patch to enable linux side driver? Thanks, Peng. > > arch/arm/configs/imx_v6_v7_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig >index 29cd1ac48987..72c4231d1b62 100644 >--- a/arch/arm/configs/imx_v6_v7_defconfig >+++ b/arch/arm/configs/imx_v6_v7_defconfig >@@ -368,6 +368,8 @@ CONFIG_PWM=y > CONFIG_PWM_FSL_FTM=y > CONFIG_PWM_IMX=y > CONFIG_NVMEM_IMX_OCOTP=y >+CONFIG_TEE=y >+CONFIG_OPTEE=y > CONFIG_MUX_MMIO=y > CONFIG_EXT2_FS=y > CONFIG_EXT2_FS_XATTR=y >-- >2.14.1 > --