Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5745565ybi; Wed, 12 Jun 2019 07:47:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzvOWbG+BEc7FXM+mHAJ4xled1KzmoU5ApAufWPRUtp2ns41IclY8Eui1G0WfrR0DHsN1FG X-Received: by 2002:a63:29c2:: with SMTP id p185mr25380058pgp.216.1560350857027; Wed, 12 Jun 2019 07:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560350857; cv=none; d=google.com; s=arc-20160816; b=wqkZu8r1f/SrRCX78PfS833yvF8X9uI2v8zWhGN1w4ABDbotsrlRL8eqcBDaUXRhJG +vjKuiSRYVRb0GL3KRabbrwaT2TtWa32gkoTzbRczyvMEFrbMPOLt98VH4xOZsdWNqHz qOZgGEKIEQWgjd0bFMyzTPlZCujIoWMQlXIIrZFd0eLpdhMsuehREpHmoXfbpCITgwLJ XDyO98e0fZxkymW7h8DinGDvwz9jOvP7ETjrkKiUUGC5BhQWyMJjgACNjdTDnUplqtEr QJGEnqnSxqSO9YNiexn0+G1hnPJKFL27jolNZ+3L8mWX8BtG6xTSd7EKnjF6h7xjZdnG cCbg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nCG2vKPZ67LYMnXf+7n+kPjSppk2PB67+lEcxnt1104=; b=GO/LpFtx0FoGRTiC76qpndzp/o47DsSB3KXPq9K4CHxCY5tqlsHuXeLi0SqBj9OVWq iA8KRyBYejzm583e37NzAm2ksYy/6QdDTIAk6WVkYqg5N6RUzPs2cDHRTETtE4Po+M3O ac+Q9pfpmlt9qGuac8eMTitPgKkkK7Ul35T3qt5bWZ/xm4r1oOW+p5Fhmunt4EXD5Ifn Rhap0PatYeg2rlY0dL+kdN7aszK2+kiGkKayKIQ6ymEcLmWKN9RSlS4Yr7Ra4LEmstUH 6310GMD2YhJEoGLpRfoVnKFeYlGaE/5YJnASpSj5/Lg0AM/EinqVlEoZshLKojlSQ8ss gegA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=rqSGJ26W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f16si67903pjq.75.2019.06.12.07.47.21; Wed, 12 Jun 2019 07:47:36 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=rqSGJ26W; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436964AbfFLKkG (ORCPT + 99 others); Wed, 12 Jun 2019 06:40:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:47910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389150AbfFLKkG (ORCPT ); Wed, 12 Jun 2019 06:40:06 -0400 Received: from dragon (li1264-180.members.linode.com [45.79.165.180]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0327E2082C; Wed, 12 Jun 2019 10:39:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560336005; bh=olJE88EuGPDle+9Tm9CK1rEMk80N8UpsGxLJZzTv3x0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rqSGJ26WhA1epEd5iGa6+JzbWjQ8AyZF8ksDozVUYo1vXzZ1K7aEeze82ZJa1JjQB BNZU7J5vrqlC3YpGiTfgCyhGB+NnChrdzCZupgVC2hVkdmJy+fipdid2cOkE1tvqt0 P40EJtFCyc0BT0Au2KyU+1wmtXHN0JS9rs7oBZWY= Date: Wed, 12 Jun 2019 18:39:27 +0800 From: Shawn Guo To: Horia =?utf-8?Q?Geant=C4=83?= Cc: Herbert Xu , "David S. Miller" , Sascha Hauer , Rob Herring , Mark Rutland , Aymen Sghaier , Iuliana Prodan , Franck Lenormand , linux-crypto@vger.kernel.org, Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ARM: dts: imx7ulp: add crypto support Message-ID: <20190612103926.GE11086@dragon> References: <20190606080255.25504-1-horia.geanta@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190606080255.25504-1-horia.geanta@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 11:02:55AM +0300, Horia Geantă wrote: > From: Iuliana Prodan > > Add crypto node in device tree for CAAM support. > > Noteworthy is that on 7ulp the interrupt line is shared > between the two job rings. > > Signed-off-by: Iuliana Prodan > Signed-off-by: Franck LENORMAND > Signed-off-by: Horia Geantă > --- > > I've just realized that this patch should be merged through the crypto tree, > else bisectability could be affected due to cryptodev-2.6 > commit 385cfc84a5a8 ("crypto: caam - disable some clock checks for iMX7ULP") > ( https://patchwork.kernel.org/patch/10970017/ ) > which should come first. I'm not sure I follow it. This is a new device added to imx7ulp DT. It's never worked before on imx7ulp. How would it affect git bisect? Shawn > > arch/arm/boot/dts/imx7ulp.dtsi | 23 +++++++++++++++++++++++ > 1 file changed, 23 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi > index d6b711011cba..e20483714be5 100644 > --- a/arch/arm/boot/dts/imx7ulp.dtsi > +++ b/arch/arm/boot/dts/imx7ulp.dtsi > @@ -100,6 +100,29 @@ > reg = <0x40000000 0x800000>; > ranges; > > + crypto: crypto@40240000 { > + compatible = "fsl,sec-v4.0"; > + #address-cells = <1>; > + #size-cells = <1>; > + reg = <0x40240000 0x10000>; > + ranges = <0 0x40240000 0x10000>; > + clocks = <&pcc2 IMX7ULP_CLK_CAAM>, > + <&scg1 IMX7ULP_CLK_NIC1_BUS_DIV>; > + clock-names = "aclk", "ipg"; > + > + sec_jr0: jr0@1000 { > + compatible = "fsl,sec-v4.0-job-ring"; > + reg = <0x1000 0x1000>; > + interrupts = ; > + }; > + > + sec_jr1: jr1@2000 { > + compatible = "fsl,sec-v4.0-job-ring"; > + reg = <0x2000 0x1000>; > + interrupts = ; > + }; > + }; > + > lpuart4: serial@402d0000 { > compatible = "fsl,imx7ulp-lpuart"; > reg = <0x402d0000 0x1000>; > -- > 2.17.1 >