Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp620989pxa; Wed, 12 Aug 2020 09:38:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHJnXcUOMgbPxjGNJi1WdFRxV5PxNRc49JnUIMCDqenawmT7oGOXPJU9Ic8HSInxj+LZJk X-Received: by 2002:a17:906:12cd:: with SMTP id l13mr599723ejb.385.1597250323354; Wed, 12 Aug 2020 09:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597250323; cv=none; d=google.com; s=arc-20160816; b=Ts3ExGZa58AUtNhXZSibg3BDJZj7SfiZgFBNM0d3yVFF0SxY4YTQvcK0SaxwtGcsT0 mFUvAemwiSIkgJ8SvVZGZ9fIVKZ/nBhFNS/pvj7Ye7F+HwBs5afDOCas+K1INgzihNGP q0GcAKGiCqHKE8uUCJMzUXtmgWlmIb3+JVR6tVoDFMvlFzqA7PLzMDBgEP5TU8POiDen LRsoEsRQ2BmooKS+XJv2oRLV3zJ/ni5yqgyMk1cN+QSsS3IMBy0d4EtJd8o8c8ei33lo ja8olxm+FrZIAB2vRcZ0CZAiqwYH5IJkXc1hW0IuaUnJ1hckr9C+Pqv7QqqZkMw5UtPV 0F6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=6CBa22VSvOeX1KzWCehD/Bf6Bqjk+XhgNBTUAEyr4zU=; b=KD8AtHxUTW52pQNZP/HD7oWaiLTjphv9FoJz/hfUUe1LPOK0qQ+798Wzx926n48Boz P1k3TUVAWd9dw2hlKLbTvrLPtRJL2aMaj8IsTg986Y88+IrFOJ/tCDp8ecqKwOj1o3iD y6Gi3moyJD+5yG5Jol3Ow3qNJ+afo5dt2L329e8DOa8RWmJJ3bxaiTeNEKRzvafNFmtY qiGsyO2L7VTVUFF5nLBCpavXvgORg4sZOwBlyw/lSTeOqlZXRUGhPp8QnkquDPk/Q0nN /qFSO1ZHGtWViMhMCWUVxiv6w/F350BtcvfRJHA0N8gRlvddTJihSEiFgfcl7SqeKuqH mGdA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g21si1643659ejx.56.2020.08.12.09.38.07; Wed, 12 Aug 2020 09:38:43 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgHLQiF (ORCPT + 99 others); Wed, 12 Aug 2020 12:38:05 -0400 Received: from mga11.intel.com ([192.55.52.93]:64274 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726394AbgHLQiE (ORCPT ); Wed, 12 Aug 2020 12:38:04 -0400 IronPort-SDR: 6XblZFf3JnuSl4GDovexY3pUSa5iELEWrP4fWQhffo8dp25MT+xJToNGVdEnUjyh/u0Xo9bfXF XIPINRU/An3Q== X-IronPort-AV: E=McAfee;i="6000,8403,9711"; a="151658785" X-IronPort-AV: E=Sophos;i="5.76,304,1592895600"; d="scan'208";a="151658785" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2020 09:38:03 -0700 IronPort-SDR: a390YBMeuM5i7xZAbQQ4UhnPUKERJ52ao3wjAL93JZmEVD0Y3/1HI2hkINV5yYgfYpn2Zk9z+6 rEDR8xVfFhQQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,304,1592895600"; d="scan'208";a="495572232" Received: from marshy.an.intel.com (HELO [10.122.105.159]) ([10.122.105.159]) by fmsmga005.fm.intel.com with ESMTP; 12 Aug 2020 09:38:02 -0700 Subject: Re: [PATCHv1 2/2] crypto: add Intel SoCFPGA crypto service driver To: Herbert Xu Cc: davem@davemloft.net, gregkh@linuxfoundation.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, dinguyen@kernel.org, richard.gong@intel.com References: <1597154182-26970-1-git-send-email-richard.gong@linux.intel.com> <1597154182-26970-3-git-send-email-richard.gong@linux.intel.com> <20200812003418.GA4166@gondor.apana.org.au> From: Richard Gong Message-ID: <7850a3e6-1ac2-c13e-94cb-64adfb6c6898@linux.intel.com> Date: Wed, 12 Aug 2020 11:52:32 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200812003418.GA4166@gondor.apana.org.au> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org I will move them to drivers/misc. Regards, Richard On 8/11/20 7:34 PM, Herbert Xu wrote: > On Tue, Aug 11, 2020 at 08:56:22AM -0500, richard.gong@linux.intel.com wrote: >> From: Richard Gong >> >> Add Intel FPGA crypto service (FCS) driver to support new crypto services >> on Intel SoCFPGA platforms. >> >> The crypto services include security certificate, image boot validation, >> security key cancellation, get provision data, random number generation, >> advance encrtption standard (AES) encryption and decryption services. >> >> To perform supporting crypto features on Intel SoCFPGA platforms, Linux >> user-space application interacts with FPGA crypto service (FCS) driver via >> structures defined in include/uapi/linux/intel_fcs-ioctl.h. >> >> The application allocates spaces for IOCTL structure to hold the contents >> or points to the data that FCS driver needs, uses IOCTL calls to passes >> data to kernel FCS driver for processing at low level firmware and get >> processed data or status back form the low level firmware via FCS driver. >> >> The user-space application named as fcs_client is at >> https://github.com/altera-opensource/fcs_apps/tree/fcs_client. >> >> Signed-off-by: Richard Gong > > Nack. This driver has nothing to do with the Crypto API. >