Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751668AbeAEJ6Z (ORCPT + 1 other); Fri, 5 Jan 2018 04:58:25 -0500 Received: from mail-ve1eur01on0056.outbound.protection.outlook.com ([104.47.1.56]:40171 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751012AbeAEJ6U (ORCPT ); Fri, 5 Jan 2018 04:58:20 -0500 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; From: Peng Fan To: shawnguo@kernel.org, fabio.estevam@nxp.com, kernel@pengutronix.de Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-imx@nxp.com, van.freenix@gmail.com, Peng Fan Subject: [PATCH] ARM: imx_v6_v7_defconfig: enable OP-TEE Date: Fri, 5 Jan 2018 17:40:35 +0800 Message-Id: <1515145235-12062-1-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [123.151.195.53] X-ClientProxiedBy: HK2PR02CA0202.apcprd02.prod.outlook.com (2603:1096:201:20::14) To VI1PR04MB3231.eurprd04.prod.outlook.com (2603:10a6:802:6::28) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 6007206e-96ac-4b21-edc0-08d55422d7f3 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060);SRVR:VI1PR04MB3231; X-Microsoft-Exchange-Diagnostics: 1;VI1PR04MB3231;3:3eYMv9/DIN1Uj+472SY/IEEO+jrOO/k2MPCPMCbIwPe8r8kq8SgOObvg4f6n+Rp9Na2EqYfJGrmnbxYveBs5PYLOv1BrCLiev+4k5cunvH7snl0GGzsvuWYba/5pTiJykqbUWMSuF2zybrYJkhkoyuvU+Gq4O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ujhHWlH49yGcXlV0nlwsCWn29SIPRVVe6ApTmwq1DqmU0ZiZw4qGMo3CLxx2/U22sfV8IFo1Cn/uZUQmpC6KxneqWQ3/dIrHnjA/XI1GhY5t4qcLP585WOcTwQ5Yw8v11equa6KpuxdvHzt1PU54vWuUMUBcKay2ClXKT5VHcZ1TEdhhOl4;4:pRpXv5xLjqkxl3Rhfiz/VM9AtMNYDsyNJiTZYuqNDTAcAtb1Ne0NkX+kH843SVOkXAx7SREnN0LqmYHcf5CDK8TkG03gII7fAOQ9xvHp/piv+PO5mdy9dshvAeae+W9Vy2G5HOUCCvg6yYW5ArnN+qNLV4cjYTX2dy+k3teL5YM26NrPwovQZ7SxLUmPJ1z3xmNAToMQlpSVRSVIUJ32oWWrKGyxCgYrtgKtmRDKmE3rZznCzUovOCTEa/Ec9RAeFyLhULE/mnMi2sRYlxEH5qf35O8KR4RV3AZ+LCekYTJHfiNQZZV0RudQKdPpMhnfR6pZMDjnrxhYJCWbiR9suS5rJmIg5byIFA2aMfeMOs0= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231023)(944501075)(6055026)(6041268)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(6072148)(201708071742011);SRVR:VI1PR04MB3231;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:VI1PR04MB3231; X-Forefront-PRVS: 05437568AA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(376002)(39380400002)(346002)(396003)(199004)(189003)(106356001)(15760500003)(6486002)(386003)(50466002)(6506007)(97736004)(52116002)(5660300001)(478600001)(48376002)(105586002)(6666003)(966005)(51416003)(36756003)(316002)(6306002)(47776003)(6512007)(66066001)(50226002)(16586007)(8936002)(4326008)(7736002)(305945005)(25786009)(81156014)(39060400002)(6116002)(81166006)(16526018)(68736007)(3846002)(86362001)(53936002)(2906002)(8676002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB3231;H:shlinux2.ap.freescale.net;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;VI1PR04MB3231;23:zKuPGjsRKa3nGT2F8fjMuc/evSxjNTOf4Uc/1AxNg?= =?us-ascii?Q?WfKukC2V2hWb/KZZ1LrzPFvv8vMdGbhutLZZWeGAF205P/g/vZ5lcbAc/A1m?= =?us-ascii?Q?HqzFnb6pqwAJ9V3OhE1xUffTK0vMKoCJVNgGUHIrcpHL7UgvojgW7nN9SSwn?= =?us-ascii?Q?cDLhB0HRhi45+QJGp4OlrXMaLAShYNijV1v7xg00XFIH3sQZ6N0S8yuf9aem?= =?us-ascii?Q?8yVBpUalNcWr5zAO3g+WGBsaHQm9Vym1x0k2OdXake1zsluHEzoyFr+EnOQ4?= =?us-ascii?Q?OXjTkXCt4GhXXRPb5h60CncSwOrY2aJ3JRgz1seHAX3yDIZ0zW3d08TjxMhB?= =?us-ascii?Q?W2ajz4WflZ/cTUgq2wF3opav5z3mvTk+zKaCUnJU1bAE7V2KJRJDkbwJn6pG?= =?us-ascii?Q?jIi6+eQqoUwLwTUnIOEh8qwSDP+agFOPMyx90dRl8oD4WiAMszX/+Ow5dMah?= =?us-ascii?Q?tYi7QNXVnF36G5oWbyEfNTfvk/cIiOjwvRv+ddBuVZzluDHbTxaDYj5F5NcX?= =?us-ascii?Q?WGDFGY9BGMAuBqTiz5tHo7cXtRWNOCntLjHYTO8IojnuWaeX1+X+OJKc91A9?= =?us-ascii?Q?/WuE5Iy9dcUdQaLED2ocDzgJOiz4juMIsTSPQFXSk4GCLrgCXNWQ4MglsJx6?= =?us-ascii?Q?vZqQnAY7BSHMwMRo4tCzuJc6hsGWRtBnRYi7aGEtCEiL+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NRdzI4PlutxUNbE1cJTRhG4=;24:9JBYYT9yxMiokU96Xhs3xvYD9rg0cOMU65H/uTxM576775Ht3dnPOjCBaw/O0JVrdUpUkM2eFaEGCLeif5ogvMf+akj0wk26aA43ha6/FBQ=;7:wExUzUE6gtcO6nBe41NP+hnV/l0Afx1+HUyeiEP0aomwL6EoJdNNlBWdfVKmE51tphjm/d6A+qwhoCYExTXLwjaYnjuPWQTWGL0uy/YzevDn/6hFa3g62ZDt5o5YxNrycfZtjldh94nw5nCurtN1DB5BhN6GKFptqfdAav+2FfgBjQYiHLDRd/XKV//A2DKwKcUoMEBsqRuLduXGdxmcOvdekGpf6UnosqGN79rfXIR4b7aWnlj6HnQzPvmbfzQ6 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2018 09:58:14.0251 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6007206e-96ac-4b21-edc0-08d55422d7f3 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3231 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: 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 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