Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4290791ybl; Mon, 9 Dec 2019 08:25:14 -0800 (PST) X-Google-Smtp-Source: APXvYqwXri97GWCdohOaGzMyuO8heO/Hvajxdp1fjcfeop+BFj0dutaQuxvbqQO8eCxaS93rwTs8 X-Received: by 2002:a05:6830:12c1:: with SMTP id a1mr20292055otq.357.1575908714339; Mon, 09 Dec 2019 08:25:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1575908714; cv=pass; d=google.com; s=arc-20160816; b=phvsoPeaIbnHOpKQOyKXhszQVulgVTjX96iHCoJTAkx+61Y1DMoaty7KnA2e7ou+VZ LB6SIRxBjQJqIf5QNROCMs6VsaguASgC0gMzhMCy6nfEVbV9GJkMgcJTL26hCsxelaCY jsR6FwrJJJHom5xAmgFXkrvHLPq2N89rzFmnLIrMvzWvtS3L1HO1+6qLfSvlrQs7oXlS qhY59pt6x9VvBF7V/VUq9jDJe9uLFBDUIbBpcN0A7IBChbA8HY6qRYgisseQQglVcNRd 5y+Z3E5dgvKTJ36O6ugmmANfcQ+nX/YvqKUtSuxu9wZ3bmaPqrjrjxJ4Q4MSzgA/3Spr YtWA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=ARkJL02bUXCsuU3ALtKlXcZrlZw2MlKqgqxzAK+beJM=; b=yuGiOOSMYIJmYgB0VUMVQHUBcU1C2TLqP2M+0dPb9K/Zuo7yBn/r6sMiUFQ7N27Yw3 /7YPg0xTBVORCTd0dV9vHHE9+DfbtzSRYFnaeSJQHTsPQs3M8S2LTkuI2cWMtb7UzcGb SkSRaaisQ3Wm3b+5sZ5Hl/T64hxHMYC4i51uHQpFhJ6LR66phynNvrDZD9gePNVVkOdf StdJDJAE3eRQC+uu4cfgyXhlJV0HMF+uuHfZ355gcqhmNWLH7YVtsgMX/DLoHG5yo0+g FtZGqMRmmr1jKD1ZHKcByayClgOLDswBwT/WSnboma7WuCBILIh9oYnYxDJcpvOuZLmD BKag== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=SuSZ1JmG; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e21si43984oti.246.2019.12.09.08.25.03; Mon, 09 Dec 2019 08:25:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=SuSZ1JmG; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726509AbfLIQXu (ORCPT + 99 others); Mon, 9 Dec 2019 11:23:50 -0500 Received: from mail-eopbgr50069.outbound.protection.outlook.com ([40.107.5.69]:13223 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726230AbfLIQXt (ORCPT ); Mon, 9 Dec 2019 11:23:49 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mjgzkqI21y6+YMtqta7/qsyX1kRLS8wWOt6P3DkuGiSx7ZF/UOnqlo2mU5nxl6UqmNiZuqc8p0x8/LIPTL5fr9fhJHIiEqWw4ZkJ3NPTFQOr0rUo+cQqX/8ovX2FPwwnQ1SZsqe0dGwJFCulAN2cCe9rIkHHvR2RKyjNNXQV2qO4oXp523wf8RDQqUPiKiqxHTfB7idiOsV722uhxyCf1TSQ/QN+Agr0dvIYsMOgvtXqOxLkYyvXYPNamf8d42uCOMq6nfojckIMONa3XBU7SOD9u2HIq/hNmjXr+VflW+Op0nrbNFeqLJ831pPHI1Nejx6plAboEpMhKAJ8LimR1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ARkJL02bUXCsuU3ALtKlXcZrlZw2MlKqgqxzAK+beJM=; b=LqtNB2WGAiNBwRTNk5zeK+X8utNZbGNboYXQ+XiwWp9SlNeUxfx95FBLToKq+LpEF4i//yOpRkyNysDKUC83hT6NJMCamZ+SuFaKdQYR+zP1hakHnBngwWSQF6MHsQqDa6ATQ6NwSUTE4iPtdOxKfZZZVvaLLwG/NVA82V5FmQ5C9w2Gbiw1gXGHgHtCH7eR3JeP07w5ycG37Kuv2q10qHicJi7Rz+bk7GKlhsNgjhicXpqJ/fPr5vSmR7YcdrmccC/5V9vHkai7oAXS/vqpETbVwIAjMkM6aT5wzr+zKuOHBnfQKGzrU3j41jn02MECvnaQ9uMNj9+tyFR5eaxoIg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ARkJL02bUXCsuU3ALtKlXcZrlZw2MlKqgqxzAK+beJM=; b=SuSZ1JmGjmBJVw5YbEHKyZ+HVtTka1HtbyfpjpKEWuFITqWeGEBnRPoHxkvMNGsnRn+sKyDtcyolQakhj1xPRftXEzzY3FytoRhHBqsvSTma1d6cH1R+y6iE7/ukxMCeLE79Qzcx5VqWsbLU2nvKDF/sR07kFO1Nr/ojUKJowVI= Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com (52.134.3.153) by DB7SPR01MB0012.eurprd04.prod.outlook.com (52.135.141.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2516.12; Mon, 9 Dec 2019 16:23:45 +0000 Received: from VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::64c8:fba:99e8:5ec4]) by VI1PR0402MB3485.eurprd04.prod.outlook.com ([fe80::64c8:fba:99e8:5ec4%6]) with mapi id 15.20.2516.018; Mon, 9 Dec 2019 16:23:45 +0000 From: Horia Geanta To: Adam Ford , "linux-crypto@vger.kernel.org" CC: Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , dl-linux-imx , Aymen Sghaier , Herbert Xu , "David S. Miller" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] arm64: dts: imx8mm: Add Crypto CAAM support Thread-Topic: [PATCH 2/2] arm64: dts: imx8mm: Add Crypto CAAM support Thread-Index: AQHVp9DMEHInO4wSqU+tSt6Rx6I4SQ== Date: Mon, 9 Dec 2019 16:23:45 +0000 Message-ID: References: <20191130225153.30111-1-aford173@gmail.com> <20191130225153.30111-2-aford173@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=horia.geanta@nxp.com; x-originating-ip: [212.146.100.6] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 6346c512-2a42-49ca-46eb-08d77cc429be x-ms-traffictypediagnostic: DB7SPR01MB0012:|DB7SPR01MB0012: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 02462830BE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(136003)(396003)(346002)(366004)(376002)(189003)(199004)(9686003)(7416002)(55016002)(52536014)(71190400001)(64756008)(54906003)(110136005)(66556008)(71200400001)(229853002)(66446008)(305945005)(33656002)(76116006)(91956017)(66946007)(66476007)(478600001)(316002)(5660300002)(6506007)(7696005)(86362001)(8936002)(44832011)(186003)(4326008)(4744005)(26005)(8676002)(53546011)(2906002)(81166006)(81156014)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7SPR01MB0012;H:VI1PR0402MB3485.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3v7Mg2eBxrwqFCr8SLr6v+kro3ylsTGTgAYquN58+Up88RowdPvyCQWCRlHaeWO1FXtCay78bpvUOfPn2dBF/12vr1y1aIhp5HkAA+8BmQKJ0Ylizy8QxafbxPsDbr7lkK1UnO6uBNacdAVMR0qUH6nJArRZRYcjGI0i9YbJ1JzscomZf56u2AorRuLiYYeg3FqAo+cmKJeRtszmkXSlj7IoFjt70+JgJiMhrgKer2n/kPwo3UKWsEutniYMqcW/jMBqqRkOMmfXGokrKfeVezfizK3OVRyn4vENE+dpeuWcgWYAE2EaZYCiASr7GrayPgx6zoB447s9BVXT0KVSuIsg3C6auXG2XXJ5vbYULOEOxurIENCU8GeZ8ja+p6VzADmOVukDR6OlRYyuR8JNMK7q/MySiMBvzApGnRzxTEnJD/zwjmsQ6TMqDF147pndnoTETaKN+8PUHUsmK2hTltp6qGiRh75Bc4dFunTTY5I= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6346c512-2a42-49ca-46eb-08d77cc429be X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Dec 2019 16:23:45.0475 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: +XW79rgrmm0mt1k7JDXpoBMn5wE9bz37Vp7XmRv7vRBV44UXnXANL+BZPeyPskOmbm0d4H67w6okZ8Y7WzKK/w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7SPR01MB0012 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 12/1/2019 12:52 AM, Adam Ford wrote:=0A= > The i.MX8M Mini supports the same crypto engine as what is in=0A= > the i.MX8MQ, but it is not currently present in the device tree,=0A= > because it may be resricted by security features.=0A= > =0A= What exactly are you referring to?=0A= =0A= > This patch places in into the device tree and marks it as disabled,=0A= > but anyone not restricting the CAAM with secure mode functions=0A= > can mark it as enabled.=0A= > =0A= Even if - due to export control regulations - CAAM is "trimmed down",=0A= it loses only the encryption capabilities (hashing etc. still working).=0A= =0A= Again, please clarify what you mean by "secure mode functions",=0A= "security features" etc.=0A= =0A= Horia=0A=