Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp499932ybl; Fri, 10 Jan 2020 02:09:29 -0800 (PST) X-Google-Smtp-Source: APXvYqxH/uajtcy0+roPR1pFcIG/MRMHMP25yIF5Sa9tUqByzVupPia1RXprbbW/AbdnaOvm3GmP X-Received: by 2002:a05:6830:114f:: with SMTP id x15mr1816383otq.291.1578650969427; Fri, 10 Jan 2020 02:09:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578650969; cv=none; d=google.com; s=arc-20160816; b=Vc6ZYnP4Ki38DpbgeXtDQzDFk8o/nAeq2ADJmB/9JBM6B/9G88J+PYKziRGSvkCt5E 8jtNMLK5uTfsHJqduE1E4+M3gfhmLmfaNl4/6pD3cXrc0SLcob5e0v4ytXLHIUuWFfKC rSaW3XlS873v1xa8T2fy6NF16OKJj1CTNgCt4KCmOdgaZCBKcgijEy4/3DJq9DaxAMD4 THugng2geqUk74dRVjudqTFGej5UPb5f3UOXNP4B7HtAIinM7SCWJHiQwiKKgJ3DLpSL RkuM+X5RFCWKitY832SJg1L2rYXaUoZi/SchKcWJmUQkIedzM2AoLO9RBy3f/aq4DiqV Al4g== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=76uNhnrKbzduGRqsGPnljAn1Kyfvep+zawZH4G3L4CM=; b=qgAevK0Yar3VbztBZ4PmqSgc06zoFRUgSabFbMO+LX5ysGnmtu+S10fjP7nN3PCk2H BmSmzV3v0Qni+ClrmA4YqJr4mGC2r0o4KD5o73k6XN2wZSP+6douA1tfLzTPdN2ppH/L cWjoXRYd85n8ET4ymscJuXT2TlCGNOo2y1cknLAOiBmCax7GAWPOXB3cAr5ipZp6DbsL +TO7uAl43WzYxMLVcuBfyvlYPl9nRKxF+bL9oyGwKXBDIg1Xk0U+vZw6kmVYLefVS2iB 8on5AfEJWOtgiT96mWqz2VG9Uf4j0KOB66kRLekxXg6v4Gge3JVzYyUy8I93IwYIPYJS IdHA== 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 l7si962508oth.11.2020.01.10.02.09.10; Fri, 10 Jan 2020 02:09:29 -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 S1727412AbgAJKIW convert rfc822-to-8bit (ORCPT + 99 others); Fri, 10 Jan 2020 05:08:22 -0500 Received: from lhrrgout.huawei.com ([185.176.76.210]:2249 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727540AbgAJKIW (ORCPT ); Fri, 10 Jan 2020 05:08:22 -0500 Received: from lhreml701-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id 0506D60485352686A595; Fri, 10 Jan 2020 10:08:21 +0000 (GMT) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by lhreml701-cah.china.huawei.com (10.201.108.42) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 10 Jan 2020 10:08:20 +0000 Received: from localhost (10.202.226.57) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 10 Jan 2020 10:08:20 +0000 Date: Fri, 10 Jan 2020 10:08:18 +0000 From: Jonathan Cameron To: zhangfei CC: Greg Kroah-Hartman , Arnd Bergmann , Herbert Xu , , jean-philippe , "Jerome Glisse" , , , , Wangzhou , "haojian . zhuang" , , , , , , Dave Jiang Subject: Re: [PATCH v10 0/4] Add uacce module for Accelerator Message-ID: <20200110100818.0000151a@Huawei.com> In-Reply-To: <9b87edca-dd4e-3fe2-5acd-11f7381593ed@linaro.org> References: <1576465697-27946-1-git-send-email-zhangfei.gao@linaro.org> <20200109174952.000051e1@Huawei.com> <9b87edca-dd4e-3fe2-5acd-11f7381593ed@linaro.org> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Originating-IP: [10.202.226.57] X-ClientProxiedBy: lhreml725-chm.china.huawei.com (10.201.108.76) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, 10 Jan 2020 15:03:25 +0800 zhangfei wrote: > 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. Sorry, I wasn't clear enough. Question is whether we need Jean's sva patch set [2] to merge this? > > Thanks