Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2120886ybx; Thu, 7 Nov 2019 23:49:48 -0800 (PST) X-Google-Smtp-Source: APXvYqzli59v1fJP03HFESFTu2nOLm/kOG7bw9IKVqPjblw0NNYNM6yQ3DuggP76AunQlo16baqK X-Received: by 2002:a50:af44:: with SMTP id g62mr8769289edd.164.1573199388815; Thu, 07 Nov 2019 23:49:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573199388; cv=none; d=google.com; s=arc-20160816; b=H7DAg8uUdeUlloa10ZkD6PcsfteyHcoYo4b5LJMee2YMhYCParsgZSgWDvxa9xULDR MxIbcsf0P7uGPq4T2tVailWNiyoN1PVpHYYD6EEIjMfS9H0DBzFc8Jn8vvVxuJ1csoip rWb3TEa7J+FmFPqO+pXKD/M5hgGmbBqwY6C+d5mryn+ednGM009OrFX2ZTZo05zZg7yP l3Lw34NFNGE09shxNvU/2e39Lqr2PAIm152u/WXJfAxDek3zasi/JwTsUR8D3ozyJtr8 gZ0eIA77VFm7XT0fKiaMePV3d1CliDAY2KSAbCrlkudysy262f8SfSXmJDjK0ZXmYGeu ZcbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ikAnX1n97pHrRs+oFI52Nu6jtvmhINRGHyMas+0u+t8=; b=AJDlLSwku0I1VBlbyh6E2pXXKMCTJSbg64Qs+HuFZ6NOkyzMyvWDtLU0jF/HgbLY8U toInUbieuBBU98ApEf3iwaSIbYS7Zu7Ivx0T+iYzkRMjG/P/2bIgph4O70BTL7s+0LSE ZX+kKzwkzW2/74DblkbTUtfmVXIdnu87tW0lVQZyIsePiqEVAvCVWqmYh7VuZsZadLie HctK0UxJCwqDZJOnZF+VjJHIyDK4BNqk+OcHAib94CTH/8VRBd2oaapqiLcU0Ck4bdiQ ZjKzHWNedV4+gu3JI3J1konyg71Ynrbsg/YI3o7mvK6NZX7NS+O7f1JjxotLAyqKjd+R B35g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OfXQxD87; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 v13si3120851eju.409.2019.11.07.23.49.24; Thu, 07 Nov 2019 23:49:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=OfXQxD87; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728075AbfKHHsm (ORCPT + 99 others); Fri, 8 Nov 2019 02:48:42 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:39296 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbfKHHsl (ORCPT ); Fri, 8 Nov 2019 02:48:41 -0500 Received: by mail-wr1-f66.google.com with SMTP id a11so5875321wra.6 for ; Thu, 07 Nov 2019 23:48:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ikAnX1n97pHrRs+oFI52Nu6jtvmhINRGHyMas+0u+t8=; b=OfXQxD87fQ+CgLxFluj4dT5ELRfN4nI2r7b0b1MNUlEINLFKTDLC957GOrknJYpkZF focCV4ugZH/9OhrBJZxmu8gQDqhUINoSlu3If/0kc6AyUQLKdRc/fluaWq0MlDTX1YR4 Hme5Q9MTXY2h7mT4EU2SCk2cP2SfHu74v56w1SrFYQzoW22HKcI9CUYza/GpDmmh35D3 Ver6+fPCj1oRvdPMiyhn9cPPWrUd/MWLTZpFfIVbs0gVM8K9SYuG7kpD5CZwxOdo2L/n yh/1RM2LgLu1IwV8JNAjaZ6ZCEvOmz381KFeihnHJ5UsRJXVNr+gazfLqrOzsnNyuXEG cAKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ikAnX1n97pHrRs+oFI52Nu6jtvmhINRGHyMas+0u+t8=; b=FQIUh10VpItquA2IRauaS5DzpXdShGpZodLXLmmwRSBDiazpoErhq3yOAWh9RlOC4d lSaqldAO+kidWmhQNDzelOJD74d8bzKfBB2joH2VxNfAVZS5vo8pD5BoJZHCqw1Gh13L 92SqduAvVFPpfMpFoDC9t7RwT+sZR/LauUbLFg7xGTqQ/hq9SoKpNYhifIILapuXYYSP B4aBzQwlumwvtywdoS/lo9eT0w/9FFvsEdHZVy9NHcY1yWwloYthHqfp/qpe2wVA6SHW 5X+hfuv7UG+f8SVSA2BbbSEvK0MWHxPYBncYkOug/Q7xzfQG6ZFuAj9Heihmw7m2gCEi /ckg== X-Gm-Message-State: APjAAAUpNpeQP/HyyA91hTxZbaw66Cilq16QqzAK+lSRYc/DG6Ugi70L o15Pcre16lTZaIkS0Lcs9Yauuw== X-Received: by 2002:adf:dbc3:: with SMTP id e3mr4814087wrj.185.1573199319375; Thu, 07 Nov 2019 23:48:39 -0800 (PST) Received: from lophozonia ([85.195.192.192]) by smtp.gmail.com with ESMTPSA id b1sm5302726wrw.77.2019.11.07.23.48.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2019 23:48:38 -0800 (PST) Date: Fri, 8 Nov 2019 08:48:35 +0100 From: Jean-Philippe Brucker To: zhangfei Cc: Greg Kroah-Hartman , Arnd Bergmann , Herbert Xu , jonathan.cameron@huawei.com, grant.likely@arm.com, 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, Kenneth Lee , Zaibo Xu Subject: Re: [PATCH v7 2/3] uacce: add uacce driver Message-ID: <20191108074835.GA3764149@lophozonia> References: <1572331216-9503-1-git-send-email-zhangfei.gao@linaro.org> <1572331216-9503-3-git-send-email-zhangfei.gao@linaro.org> <20191105114844.GA3648434@lophozonia> <24cbcd55-56d0-83b9-6284-04c29da11306@linaro.org> <20191106153246.GA3695715@lophozonia> <0cad8084-8ba8-03bd-7d29-cc7ba22c29ab@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0cad8084-8ba8-03bd-7d29-cc7ba22c29ab@linaro.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 07, 2019 at 09:23:50PM +0800, zhangfei wrote: > > What I had in mind is keep one uacce_mm per mm and per device, and we can > > pass that to iommu_sva_bind_device(). It requires some structure changes, > > see the attached patch. > Cool, thanks Jean > How about merge them together. No problem, you can squash it into this patch Thanks, Jean