Received: by 10.223.185.116 with SMTP id b49csp8837842wrg; Fri, 2 Mar 2018 08:46:57 -0800 (PST) X-Google-Smtp-Source: AG47ELsj6RLI+h+GOOnBD+bdjdw1qgQDk2VFwkdDyn4vPjPNrElxV7QaxWliagXqXskGKsBC0wPZ X-Received: by 10.101.77.195 with SMTP id q3mr4878694pgt.283.1520009216930; Fri, 02 Mar 2018 08:46:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520009216; cv=none; d=google.com; s=arc-20160816; b=p5CZ4b+Ud7w8VGgFWZRnMAurIG8BKxgoFU7tMEYzTlPXX84yNWRarlc5mawNICjGyR TVEAi71KuPshYPEFdB0WJZkHJOMJKqOFOipOsTJ8hebEG/DMe3DT8SuXKfujV2Usy3dC JatqrYMeIwvHcQ1ZC8aNzMvny117PrT4d/QxFl9y2MtkyT+2tCwmPPJxWU3pxFDMyKnD 1pSULqyov69SxFEWY0RzHJxdlNzKvkcQ2B0jQSWGQYrWgNkek/pFdQubKEwTZm02juAo roHKte60g7YGZlyV0MK+wNxYJ+CgBg/Y3XJ0LR3yTua42rWhv748FElu1Ij9OeLo4oMp xWiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=3PMMaCPPiHHpBeFYm8kc9ZoZDhyUthalT0eBJFr0pG4=; b=yuZKiVSS8eel5o9clxCXLvt/g3nOwprCqYraC3ccfHAlsTszhDOgrtbuYZqNg7+vxq 8tRGoMwiwTQcAJjmlrJJ4B2dmVx7bA9heKACUGpKU3eBU2TY12K3rgcyp8snhBRSGXlH dwAJ8C5epbMx6sjepIRZvhFDV+7j4RiorUIcK3RLAinSe3fDreTJKpuOBx4spz+KAyaO XX9d7xkjZ5o2W9hf/BTiHY9CX/nxoptU69atPRXolPU26P1vYy++mwNxz9nvuSUCWE30 77dd9qJJxU2iXzdosa5Qly2mrKDVLVYggIwfzB24Vjyaj0Xi+Hn/0eNJgUjK6PXsPNwM PVPQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t10si4254313pgc.18.2018.03.02.08.46.41; Fri, 02 Mar 2018 08:46:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423322AbeCBQoN (ORCPT + 99 others); Fri, 2 Mar 2018 11:44:13 -0500 Received: from orcrist.hmeau.com ([104.223.48.154]:59282 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967014AbeCBQoL (ORCPT ); Fri, 2 Mar 2018 11:44:11 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.84_2 #2 (Debian)) id 1ernmx-000128-DS; Sat, 03 Mar 2018 00:44:07 +0800 Received: from herbert by gondobar with local (Exim 4.84_2) (envelope-from ) id 1ernmt-0005hn-A2; Sat, 03 Mar 2018 00:44:03 +0800 Date: Sat, 3 Mar 2018 00:44:03 +0800 From: Herbert Xu To: Rui Miguel Silva Cc: horia.geanta@nxp.com, aymen.sghaier@nxp.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Ryan Harkin , Bryan O'Donoghue Subject: Re: [PATCH v4 0/4] Enable CAAM on i.MX7s fix TrustZone issues Message-ID: <20180302164403.GG21579@gondor.apana.org.au> References: <20180222142250.31348-1-rui.silva@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180222142250.31348-1-rui.silva@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 02:22:46PM +0000, Rui Miguel Silva wrote: > For v4 I am taking over this patch series as all the left over patches were > implemented by me. > > V4: > - removed patch: [PATCH v3 2/5] crypto: caam: Fix endless loop when RNG is > already initialized from the series since Horia presented a better fix for the > endless loop in case of fail to acquire DECO: > 225ece3e7dad4 crypto: caam - fix endless loop when DECO acquire fails > - add Fabio Estevam reviewed by tag in PATCH 3/3. > - removed CAAM ERA from dts since bootloader will add it - Horia. > > V3: > - Added Cc: clk driver maintainers - Fabio Estevam > - Added Cc: i.MX arch maintainers - Fabio Estevam > - Removed bouncing email address for Herbert Xu > > V2-resend: > - Patch 0005 lost in the ether - resending > > V2: > - Endian detection is ok with TrustZone enabled Horia. > Endian detection logic tested with TrustZone enabled. The register that > this relies on though isn't affected by the lock-down in the first page. > Assuming set of affected registers is actually just the 'deco' registers > though there is no formal statement of that, that I am aware of. > > - Moving of TrustZone work-around into u-boot > This set actually doesn't need to deal with TrustZone at all now but, for > the sake of consistency keeping thread title > > https://patchwork.ozlabs.org/patch/866460/ > https://patchwork.ozlabs.org/patch/866462/ > https://patchwork.ozlabs.org/patch/865890/ > > - Reworded endless loop fix to read a bit better > > - Fixes to DTS additions - Rui > > - Fixes to number of clocks declared - Rui > > V1: > This patch-set enables CAAM on the i.MX7s and fixes a number of issues > identified with the CAAM driver and hardware when TrustZone mode is > enabled. > > The first block of patches are simple bug-fixes, followed by a second block > of patches which are simple enabling patches for the i.MX7Solo - note we > aren't enabling for the i.MX7Dual since we don't have hardware to test that > out but it should be a 1:1 mapping for others to enable when appropriate. > > Cheers, > Rui > > Rui Miguel Silva (4): > crypto: caam - Fix null dereference at error path > crypto: caam - do not use mem and emi_slow clock for imx7x > clk: imx7d: add CAAM clock > ARM: dts: imx7s: add CAAM device node > > arch/arm/boot/dts/imx7s.dtsi | 30 +++++++++++++++++++++++ > drivers/clk/imx/clk-imx7d.c | 1 + > drivers/crypto/caam/ctrl.c | 42 +++++++++++++++++++-------------- > include/dt-bindings/clock/imx7d-clock.h | 3 ++- > 4 files changed, 57 insertions(+), 19 deletions(-) Patches 1 and 2 applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt