Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp96806ybf; Thu, 27 Feb 2020 16:51:02 -0800 (PST) X-Google-Smtp-Source: APXvYqy/GIw8jrBghgewtonzw/N7BIL4hatD5qgTzvhu/IPxC2xObdSsyx+2TArdGvRrQhvq3pBJ X-Received: by 2002:a54:4106:: with SMTP id l6mr1338668oic.76.1582851062740; Thu, 27 Feb 2020 16:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582851062; cv=none; d=google.com; s=arc-20160816; b=Y+pcEzC2NGFIcaWmay/uc0+ifoAftyNZd4VitI835jDnpJQyu7uKWuwqGPINftyOps jAzywsd8J3o47+QJoAv9lGOC1qxG4vIz5fZ9cq4BblXYwmvAsCx+MzYRuGL1T6p4kmWP ZPUx9xyFfLwCoY+l0nKpJWv7gGa0QwBVo5zKH89ctYDYfFMzQ5Af3TS6+EiB/Ozm0uhl qoracljOrbS+YKVGerTrgcEyDgmqs6bnzDMMjp32C5Xa69eNUYsH2cUBcYw5so+31YJa hNGBxYDjiHOdcZoUJ6dFC4V5YNJBueaNTbR0V+EToH/gViD7Z0n/UBAK5UOp0A3iPkKO g43Q== 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; bh=eVXRsqq3xfOGp+k8d/epZ6ldZ5d+ktmmZiEQ1FA2K3M=; b=a3dZ6pF7L5wgtlK0yJDP76k7pUKRRmRQ1QOFa3S8+IbM9+cq6lUwN8+QNSnsNzL4Vd kwrLIIeFym3T4D3fqqlzZQEHS2Zekwhjz5RR1ktsZW1tetGdzGTg0XLd56vDt3TNXth9 xY3UCciCr3iQO8+XWYPcw7qC4IlhOvEEPBevpZqLXiAHyV0TXgbpa4Q62if0zTPVWmh7 qeOUOZ1uaSFCjKg4ZbylGMJIHv68hqJSMIbWYAFrWJUksjsQDaXYVOyp57k87Tv5Xlol /9pOUzz3Kutt6O9t4cuhuHVfTcah6o+0bJT8PzcWISAtFVc4icqy1bJcubaF81LZcChd oJXA== ARC-Authentication-Results: i=1; mx.google.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si784457oir.71.2020.02.27.16.50.50; Thu, 27 Feb 2020 16:51:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730341AbgB1Auq (ORCPT + 99 others); Thu, 27 Feb 2020 19:50:46 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:55664 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729984AbgB1Auq (ORCPT ); Thu, 27 Feb 2020 19:50:46 -0500 Received: from gwarestrin.me.apana.org.au ([192.168.0.7] helo=gwarestrin.arnor.me.apana.org.au) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1j7TrO-0000Lx-78; Fri, 28 Feb 2020 11:50:35 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 28 Feb 2020 11:50:34 +1100 Date: Fri, 28 Feb 2020 11:50:34 +1100 From: Herbert Xu To: Kalyani Akula Cc: davem@davemloft.net, monstr@seznam.cz, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Kalyani Akula , Rob Herring , devicetree@vger.kernel.org, git-dev@xilinx.com, Mohan Marutirao Dhanawade , Sarat Chand Savitala , Harsh Jain , Michal Simek Subject: Re: [PATCH V7 0/4] Add Xilinx's ZynqMP AES-GCM driver support Message-ID: <20200228005033.GA9506@gondor.apana.org.au> References: <1581935204-25673-1-git-send-email-kalyani.akula@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1581935204-25673-1-git-send-email-kalyani.akula@xilinx.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Feb 17, 2020 at 03:56:40PM +0530, Kalyani Akula wrote: > This patch set adds support for > - dt-binding docs for Xilinx ZynqMP AES driver > - Adds device tree node for ZynqMP AES driver > - Adds communication layer support for aes in zynqmp.c > - Adds Xilinx ZynqMP driver for AES Algorithm > > NOTE: This patchset is based on Michal's branch > https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=arm/drivers > because of possible merge conflict for 1/4 patch with below commit > commit 461011b1e1ab ("drivers: firmware: xilinx: Add support for feature check") > > V7 Changes: > - Rebased this patchset on Cryptodev-2.6 tree and fixed compilation > issue seen. The issue is seen due to the below > commit af5034e8e4a5("crypto: remove propagation of CRYPTO_TFM_RES_* flags") > > V6 Changes: > - Updated SPDX-License-Identifier in xlnx,zynqmp-aes.yaml. > > V5 Changes : > - Moved arm64: zynqmp: Add Xilinx AES node from 2/4 to 4/4. > - Moved crypto: Add Xilinx AES driver patch from 4/4 to 3/4. > - Moved dt-bindings patch from 1/4 to 2/4 > - Moved firmware: xilinx: Add ZynqMP aes API for AES patch from 3/4 to 1/4 > - Converted dt-bindings from .txt to .yaml format. > - Corrected typo in the subject. > - Updated zynqmp-aes node to correct location. > - Replaced ARCH_ZYNQMP with ZYNQMP_FIRMWARE in Kconfig > - Removed extra new lines and added wherever necessary. > - Updated Signed-off-by sequence. > - Ran checkpatch for all patches in the series. > > V4 Changes : > - Addressed review comments. > > V3 Changes : > - Added software fallback in cases where Hardware doesn't have > the capability to handle the request. > - Removed use of global variable for storing the driver data. > - Enabled CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y and executed all > the kernel selftests. Also covered tests with tcrypt module. > > V2 Changes : > - Converted RFC PATCH to PATCH > - Removed ALG_SET_KEY_TYPE that was added to support keytype > attribute. Taken using setkey interface. > - Removed deprecated BLKCIPHER in Kconfig > - Erased Key/IV from the buffer. > - Renamed zynqmp-aes driver to zynqmp-aes-gcm. > - Addressed few other review comments > > > Kalyani Akula (4): > firmware: xilinx: Add ZynqMP aes API for AES functionality > dt-bindings: crypto: Add bindings for ZynqMP AES-GCM driver > crypto: Add Xilinx AES driver > arm64: zynqmp: Add Xilinx AES node. > > .../bindings/crypto/xlnx,zynqmp-aes.yaml | 37 ++ > arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 + > drivers/crypto/Kconfig | 12 + > drivers/crypto/Makefile | 1 + > drivers/crypto/xilinx/Makefile | 2 + > drivers/crypto/xilinx/zynqmp-aes-gcm.c | 457 +++++++++++++++++++++ > drivers/firmware/xilinx/zynqmp.c | 25 ++ > include/linux/firmware/xlnx-zynqmp.h | 2 + > 8 files changed, 540 insertions(+) > create mode 100644 Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml > create mode 100644 drivers/crypto/xilinx/Makefile > create mode 100644 drivers/crypto/xilinx/zynqmp-aes-gcm.c Patches 1-3 applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt