Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp6423010ybl; Mon, 23 Dec 2019 05:43:32 -0800 (PST) X-Google-Smtp-Source: APXvYqxP1VdjuFYuPGCXRilcHlziiFKmQ7QuZLxbWtM7Bd0AJ2ZFtdlJK6nueyxsUkalndvHzZRF X-Received: by 2002:a05:6830:4ca:: with SMTP id s10mr20605744otd.268.1577108611940; Mon, 23 Dec 2019 05:43:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577108611; cv=none; d=google.com; s=arc-20160816; b=v70Qzg9wdJSnKUgJKm40jhXSRVueMW6FyxfH6zPkj6nuWCDJLXbfUBSpmJue+triYC rcRzXFn07ojMddtn5TF9Wwh7YICzdUxiBEl0pjdF6Mu3wLyz/L/lUbaKOCzjHdgut76M 5gq0qNxr5Vrp/7QUayVkq9xpNob0ygFHO23WkaYHT5OH1M0itm1jr+2tJ61wJ5geRddX AMB0fpwcGYS6bu84uf34SxERuyNPrfC4so6vCqkDDAbrp6sAb4HL/n3SyXtyhXyjk34G 84zjrvrmajRLXIWAaSzQgvosDUUsJAmVnNdOOtjertLY3wADtsb/w9gP8ytrNTF8PnOr 25Bg== 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=wVTAxAkLybU/XzL/opvLLffdVLtU7bgXnpcg4bd91o4=; b=VfYh9JSk04ODRO1Vi4hO7ra9jmkS/iM8WLnmgwHojYvnn5734ZXp6RuMsPL2w5BmJk egCuBJ8OYTMx72reALvNP8Q3lGmaYey4Ite17my0dAMxm1LAwYCRKY/CAjBVnhBqrh4F 5crcIWQ3FdA2wktoaezGs0vTDR1Jkj6DBCrfRw13yqBnN5YVxIDw/pCeBqKOR5KyolFK Tm9sY3LtOxUzVcxX/UArFXkjQmXCw2W/cHmxzXaHyrX4+o0gdvjhFtFUaxs91ydB9tnC wqN+k5zyx11KqbQXVPrsc4ef1fIfgptNDh9wttI14IQg/QBumUs/VRC/89d90cuqpWqq 9EcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y6kMDUZy; 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 l14si10967227otk.225.2019.12.23.05.43.11; Mon, 23 Dec 2019 05:43:31 -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=Y6kMDUZy; 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 S1726884AbfLWNnB (ORCPT + 99 others); Mon, 23 Dec 2019 08:43:01 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46030 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbfLWNnB (ORCPT ); Mon, 23 Dec 2019 08:43:01 -0500 Received: by mail-pf1-f196.google.com with SMTP id 2so9198881pfg.12 for ; Mon, 23 Dec 2019 05:43:01 -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=wVTAxAkLybU/XzL/opvLLffdVLtU7bgXnpcg4bd91o4=; b=Y6kMDUZyIpXUhY/6S6BGldJrLa3Be3lQw1aP1BG6W+6jpQs0H94u4738rszDgOEhev yj1YEU5Dhi+0a5z+R8dlTKCFEuU7NWGPTiCqZMIE80senDFfhVqi6pcyZbipej4nkQ1d V6tESjmrSWYreiBea6tmcV267sBT5fNb09WlZ1BUoaTGrqGyrgi8V+t4P7pGb2ZnYemn JQiamP8GzVdx2hTRs/mV/QNsjP6r2E86kVtm2jS0pSsqEyoL0hwlTM8OUhoWzQLioUq1 qo3tKYhZjjwuv5Wwu/PXS8Oo+fqbuCWVUjnmzjEaSEIUUYY3m7TB7K6FLeQseWDqYeP9 DSyA== 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=wVTAxAkLybU/XzL/opvLLffdVLtU7bgXnpcg4bd91o4=; b=dJBRgFmPzNKVoph8/SdwLXXZWOo9AldQVOhVoUXBHSqDCbtqfWIrtKJoe4TU4gHbfy 0IGsvOP1qoKoieqbnozNsRClt+LClX6euRbuIJqDiHBt0KQJppSdOJnMzpnlayZLP0Tb f34q6bxhcGT8Maw3KeiTfuRHVfxaMNv8d3TDR8gtGnV8UtlzopOYwFCBDLUt6CEpcI73 f853ynG4MpigB7Xq3sodloaAcsiqtpik3xsTAjMkkpfPYVyJr1EYfP2bf6jdcbDSrkPh DY5qEWZ+05rx1OGQUZys9AHZBv8g7VbjveuSSgmBmsecJRlCYTb9YkqzlOy+cDJkjDcu q4LA== X-Gm-Message-State: APjAAAUo7pgru4L5YvM46jhMPV7qh7wzPeQlGxGoPqWvrYPtz5Fjxut7 9B3qjz4u5oaoNgRUFOeqXyG/fg== X-Received: by 2002:a63:89c2:: with SMTP id v185mr30692540pgd.135.1577108580760; Mon, 23 Dec 2019 05:43:00 -0800 (PST) Received: from [192.168.11.202] (li1566-229.members.linode.com. [139.162.86.229]) by smtp.gmail.com with ESMTPSA id z4sm21121512pjn.29.2019.12.23.05.42.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Dec 2019 05:43:00 -0800 (PST) Subject: Re: [PATCH v10 0/4] Add uacce module for Accelerator To: Greg Kroah-Hartman , Arnd Bergmann , Herbert Xu , jonathan.cameron@huawei.com, 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 Cc: linux-accelerators@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, iommu@lists.linux-foundation.org References: <1576465697-27946-1-git-send-email-zhangfei.gao@linaro.org> From: zhangfei Message-ID: <0e7f16b7-938b-402a-e3e3-2a0bed6fb708@linaro.org> Date: Mon, 23 Dec 2019 21:41:31 +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: <1576465697-27946-1-git-send-email-zhangfei.gao@linaro.org> 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 Hi, Greg On 2019/12/16 上午11:08, 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] > > This series and related zip & qm driver > https://github.com/Linaro/linux-kernel-warpdrive/tree/v5.5-rc1-uacce-v10 > > The library and user application: > https://github.com/Linaro/warpdrive/tree/wdprd-upstream-v10 > > References: > [1] http://jpbrucker.net/sva/ > [2] http://jpbrucker.net/git/linux/log/?h=sva/zip-devel > [3] https://github.com/eauger/linux/tree/v5.3.0-rc0-2stage-v9 > > Change History: > v10: > Modify the include header to fix kbuild test erorr in other arch. > > > Kenneth Lee (2): > uacce: Add documents for uacce > uacce: add uacce driver > > Zhangfei Gao (2): > crypto: hisilicon - Remove module_param uacce_mode > crypto: hisilicon - register zip engine to uacce > > Would you mind take a look at the patch set? The patches are also used for verifying the sva feature. https://lore.kernel.org/linux-iommu/20191219163033.2608177-1-jean-philippe@linaro.org/ Thanks