Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp338910ybl; Thu, 9 Jan 2020 23:04:08 -0800 (PST) X-Google-Smtp-Source: APXvYqyz8JZ+Ic+3O0pFXMpAqfcjp0WPvl8SWbyyiymFM7NglCVgdFnQK1DzbXD+Jg+1sY8jTKxc X-Received: by 2002:a9d:5786:: with SMTP id q6mr1350192oth.164.1578639848057; Thu, 09 Jan 2020 23:04:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578639848; cv=none; d=google.com; s=arc-20160816; b=c2GjMg41OuoE5qHClZoz6LLJWnlU3a8TLkcloweAoT0UH5EXZ5eNh8vty93yuDkXWG 6+Ol5KWdzDFkUYGBWUNjtyMo0hfDf6D84UiZMCcH2QAqBsrbt84jZO4Qnlll32gpM5C0 jNU4KYlC39uqtNBbsj+ocpBKNE6YxZoGv+Fx0z546ugUDVi5UuQsNcycrMioTpWyiQ2J HsIJL6ePirj8gBRnoIlFVmBESQLVeHp6k/VBgzUNaDKkr9VVnUJvyzOuZT2M+DeDIt5S +hp1zFyqShR8IDjaWVvD+rbod354pOnfqTbe4eM1nPIq52mqfLq7zgWCr4qCJk26F3OJ QVDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=524ZzQ+ni88Rws2LlNdcnlFyEqdyrbvKeKi49yA8YY4=; b=0eESiajO5N2hGD3t+lxykqSK2gIvo1qgIZpu0P6NiTl8s7o3ZB5TH7LHyD6Nm8/vXt uWzSDYRIxUPhXRlgkX3Jh+Lcc7YSaPPEQCljV/nI9+72whb4XGKHJGke6sOSEClkNArE QKSGMp9YKS09WhCwNX94ENqtJQshjzVRH02SxejKI+HcVz15jGAnlmZwcWJdGHWO81ON +/iLwy52Piu9qyYWHchVNGP/5xh3+CFm/GDgPfsnxS0EFrEZuN/BS91Y+y42hqETCSUd utkQIjpkD7XYMo7JGK6JKX9i92b0zRjbGNjfD+MKWoPaHnLW4LwI1S6ufp0a62gO6WZO 0akA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NGSmQqRU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w11si591607oic.62.2020.01.09.23.03.45; Thu, 09 Jan 2020 23:04:08 -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; dkim=pass header.i=@linaro.org header.s=google header.b=NGSmQqRU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727210AbgAJHDl (ORCPT + 99 others); Fri, 10 Jan 2020 02:03:41 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:46021 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726486AbgAJHDk (ORCPT ); Fri, 10 Jan 2020 02:03:40 -0500 Received: by mail-pg1-f193.google.com with SMTP id b9so535826pgk.12 for ; Thu, 09 Jan 2020 23:03:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=524ZzQ+ni88Rws2LlNdcnlFyEqdyrbvKeKi49yA8YY4=; b=NGSmQqRU5+ICclxQRqDent1NDnfEm2OIeeFdX0tw/ZmF5Ynj0sVDkrXYgo859Seh0M J0l0h0MbScEDs2sJRmYMl/Q2HJ9vAiX6odyo6YxZy9mw/XioiCJwEKZ+I1Zo30NGV+ia ziky5DZJR/qtVDQrwkd8pjID8fi+W+813nC/nUw8w3rYyGArUeP/iw1vslz/rh0whBTv 9YIXRZhMWidQzylg7ngeozNKcbUj3M0hEuYMICamx+mNMsw8N5QhTqrpS4gEVk8nz+xx PfRK9qHUjXd+VzpCcn5R5QxZgBsCKm7vqH7aWgLY8rvlvHSfalm+nWpsY1TfA2IKaUXg yYRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=524ZzQ+ni88Rws2LlNdcnlFyEqdyrbvKeKi49yA8YY4=; b=PHWuEsqRMdh2G4vT/QXfWpDcNf+FBLTDwHLMGG+Gpo+Ydjx0k/H4kO3v0PLzCBUglP 9TpFq3rKz5mpJdBFHJmOt7FL+ukHcB/NkR6H1ZXRckowGshfQ4+apaTw839lLT3X/o9F fdShpPTn2M6Pja3IYEBy852AeZvQwO7XMHJst0i4T07G39UoDTMbwpifzgjkjsfaxYHC fXEODXEAsuTHHxl+9DrE4+CUTexMNfLV3EbVNMRv2OiU9MeFk2TLkYO1NVORmogKBl7p KSZ4e/J7tolm30y5gwNvfhNsrKn9IVr2zhA6rv2Uush27dM40ijPBVt4NuqitshBaLjt t8+Q== X-Gm-Message-State: APjAAAWP/f6sBG1imsMj9gdJHLuUfWNnk9yqts/tx7xT7LvNEKt1Xb7f qVpbeTcKapwlASY6sIObzQvkKQ== X-Received: by 2002:a62:53c3:: with SMTP id h186mr2378854pfb.118.1578639818515; Thu, 09 Jan 2020 23:03:38 -0800 (PST) Received: from [10.151.2.174] ([45.135.186.75]) by smtp.gmail.com with ESMTPSA id a26sm1382558pfo.27.2020.01.09.23.03.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jan 2020 23:03:37 -0800 (PST) Subject: Re: [PATCH v10 0/4] Add uacce module for Accelerator To: Jonathan Cameron , Zhangfei Gao Cc: Greg Kroah-Hartman , Arnd Bergmann , Herbert Xu , grant.likely@arm.com, jean-philippe , Jerome Glisse , ilias.apalodimas@linaro.org, francois.ozog@linaro.org, kenneth-lee-2012@foxmail.com, Wangzhou , "haojian . zhuang" , guodong.xu@linaro.org, linux-accelerators@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, iommu@lists.linux-foundation.org, Dave Jiang References: <1576465697-27946-1-git-send-email-zhangfei.gao@linaro.org> <20200109174952.000051e1@Huawei.com> From: zhangfei Message-ID: <9b87edca-dd4e-3fe2-5acd-11f7381593ed@linaro.org> Date: Fri, 10 Jan 2020 15:03:25 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200109174952.000051e1@Huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 2020/1/10 上午1:49, Jonathan Cameron wrote: > On Mon, 16 Dec 2019 11:08:13 +0800 > Zhangfei Gao wrote: > >> Uacce (Unified/User-space-access-intended Accelerator Framework) targets to >> provide Shared Virtual Addressing (SVA) between accelerators and processes. >> So accelerator can access any data structure of the main cpu. >> This differs from the data sharing between cpu and io device, which share >> data content rather than address. >> Because of unified address, hardware and user space of process can share >> the same virtual address in the communication. >> >> Uacce is intended to be used with Jean Philippe Brucker's SVA >> patchset[1], which enables IO side page fault and PASID support. >> We have keep verifying with Jean's sva patchset [2] >> We also keep verifying with Eric's SMMUv3 Nested Stage patches [3] > Hi Zhangfei Gao, > > Just to check my understanding... > > This patch set is not dependent on either 2 or 3? > > To use it on our hardware, we need 2, but the interfaces used are already > upstream, so this could move forwards in parallel. > > Yes, patch 1, 2 is for uacce. patch 3, 4 is an example using uacce, which happen to be crypto. Thanks