Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp798080pxb; Thu, 21 Jan 2021 22:22:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwjgpNGDovxAcXCYfsq1F17tmfG0Viq1lQWd+0X747FSiPvF/OR4MiZ8fzXR7mZlBnbzdD X-Received: by 2002:a50:ee94:: with SMTP id f20mr2049895edr.222.1611296554255; Thu, 21 Jan 2021 22:22:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611296554; cv=none; d=google.com; s=arc-20160816; b=bcTuC+Z0iLiA6jl/rWNDJlLnvKIKFgH73PvWmwHGefxAH0LPFUyfy8/njMCveddHcG bZfP9urb8551+O4uWJ1E73UCG5TEUSzibMjN1n4IPPENOxsdD5F4g+yiIyGRwaNXqqEP 2sdEjk5iFrTJang8yUPvfNWOe+rlt4BdJzsFZN7sSGK3y68hAQ9BmXo185Drt+PN8Ac9 y7unNdmp9IqKztsshJtJrPfQlB9F0OfQTNlzcdblJD+seAANcbJ3SNs48AukEnpCwuT7 l5gjsyCUsUQ7eB9UIU0i/N+TCvL1rbmPvc7XkCMIgJrimOmd0+2O7q69RgAm1akay172 6iJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=53eNAGa5/mqs7KVIJ3B1V0J1ejewCjlAGul0mEON1bo=; b=xmh1ak9X+vzCIySW8+qXbPz34W/QmwsxTFT+Q9EJxaA94BM2i4g+gzKct44U/XIffN QzHllFlbNmovqyBt0KNNs7n948UAdQKPDgoU/WTcFa32xOMZsBDajyyXNGzzcqhHrtU/ Q3McEiRAH2ALv0EyZ+OhKSDmF2xjyBRcOTTXsCsiOwyFxtpmY3yL5Z+wmYYuSXRhdbAv f3rSWdhX4JgcKsZajHA78D5pvZKH9TVVHW/A+HGiK1k/ccb7oPgmcl5oxoG9p3sr8AQD Bv3tXqwT7E78dfXR/Ow13+s1rF4ZlfFm+6ZGo/kO5KF796LiXNyo5ZtXroGeAIlQqfkn IMBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si2540445ejg.670.2021.01.21.22.22.06; Thu, 21 Jan 2021 22:22:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726043AbhAVGWB (ORCPT + 99 others); Fri, 22 Jan 2021 01:22:01 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:54122 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbhAVGV7 (ORCPT ); Fri, 22 Jan 2021 01:21:59 -0500 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.103.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1l2pod-00021l-Tr; Fri, 22 Jan 2021 17:21:05 +1100 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 22 Jan 2021 17:21:03 +1100 Date: Fri, 22 Jan 2021 17:21:03 +1100 From: Herbert Xu To: Srujana Challa Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, pathreya@marvell.com, jerinj@marvell.com Subject: Re: [PATCH v2 0/9] Add Support for Marvell OcteonTX2 CPT engine Message-ID: <20210122062103.GC1217@gondor.apana.org.au> References: <20210115135227.20909-1-schalla@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210115135227.20909-1-schalla@marvell.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Jan 15, 2021 at 07:22:18PM +0530, Srujana Challa wrote: > This series introduces crypto(CPT) drivers(PF & VF) for Marvell > OcteonTX2 CN96XX Soc. > > OcteonTX2 SOC's resource virtualization unit (RVU) supports multiple > physical and virtual functions. Each of the PF/VF's functionality is > determined by what kind of resources are attached to it. When the CPT > block is attached to a VF, it can function as a security device. > > The CPT PF driver is responsible for: > - Forwarding messages to/from VFs from/to admin function(AF), > - Enabling/disabling VFs, > - Loading/unloading microcode (creation/deletion of engine groups). > > The CPT VF driver works as a crypto offload device. > > This patch series includes: > - CPT PF driver patches that include AF<=>PF<=>VF mailbox communication, > sriov_configure, and firmware load to the acceleration engines. > - CPT VF driver patches that include VF<=>PF mailbox communication and > crypto offload support through the kernel cryptographic API. > > This series is tested with CRYPTO_EXTRA_TESTS enabled and > CRYPTO_DISABLE_TESTS disabled. > > Changes since v1: > * Resolved compilation warning. > > > Srujana Challa (9): > drivers: crypto: add Marvell OcteonTX2 CPT PF driver > crypto: octeontx2: add mailbox communication with AF > crypto: octeontx2: enable SR-IOV and mailbox communication with VF > crypto: octeontx2: load microcode and create engine groups > crypto: octeontx2: add LF framework > crypto: octeontx2: add support to get engine capabilities > crypto: octeontx2: add virtual function driver support > crypto: octeontx2: add support to process the crypto request > crypto: octeontx2: register with linux crypto framework > > drivers/crypto/marvell/Kconfig | 14 + > drivers/crypto/marvell/Makefile | 1 + > drivers/crypto/marvell/octeontx2/Makefile | 10 + > .../marvell/octeontx2/otx2_cpt_common.h | 137 ++ > .../marvell/octeontx2/otx2_cpt_hw_types.h | 464 +++++ > .../marvell/octeontx2/otx2_cpt_mbox_common.c | 202 ++ > .../marvell/octeontx2/otx2_cpt_reqmgr.h | 197 ++ > drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 429 ++++ > drivers/crypto/marvell/octeontx2/otx2_cptlf.h | 353 ++++ > drivers/crypto/marvell/octeontx2/otx2_cptpf.h | 61 + > .../marvell/octeontx2/otx2_cptpf_main.c | 713 +++++++ > .../marvell/octeontx2/otx2_cptpf_mbox.c | 356 ++++ > .../marvell/octeontx2/otx2_cptpf_ucode.c | 1415 +++++++++++++ > .../marvell/octeontx2/otx2_cptpf_ucode.h | 162 ++ > drivers/crypto/marvell/octeontx2/otx2_cptvf.h | 29 + > .../marvell/octeontx2/otx2_cptvf_algs.c | 1758 +++++++++++++++++ > .../marvell/octeontx2/otx2_cptvf_algs.h | 178 ++ > .../marvell/octeontx2/otx2_cptvf_main.c | 410 ++++ > .../marvell/octeontx2/otx2_cptvf_mbox.c | 167 ++ > .../marvell/octeontx2/otx2_cptvf_reqmgr.c | 541 +++++ > 20 files changed, 7597 insertions(+) > create mode 100644 drivers/crypto/marvell/octeontx2/Makefile > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_hw_types.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptlf.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptlf.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c > create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt