Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp757014yba; Wed, 15 May 2019 09:23:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDJ6XB9LZAmRwhcO55CPVEAuRk1hVIHpEGamz6POdeON38ysZBeKcYjRS7qvInr9VsVLgj X-Received: by 2002:a63:d756:: with SMTP id w22mr45290264pgi.382.1557937432589; Wed, 15 May 2019 09:23:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557937432; cv=none; d=google.com; s=arc-20160816; b=Cw/klefyrSEjmvkim53WpsCOLcoPcdAN/K82pR2YnUbX9bv8ytS3wUbdyolSjxaX/C JwinVNTE4MBt7tmGfybvzWJJxPyhBCTZkgZhav9yqCKwkvGtcqpuBpafynZofKY0B17o Qd7r+CbE6KAROhX4B/Gy4Ile+jpPc9CEk1NMn5KeLF98xCuaA/+RY4d7j9eViT4MRpZK dA6v0gZYsRbSU6VS2b17pX2NS+JT93V7Nj9YApn9pl6760K+3SWO4GFysCXhqgDU8lGI WICsHTJtlUJ3OMr5sBKk94HUSaJFFNL2heWJ0bceehO9uyj77L6PhKvUfVSlG0UHlP30 wv8w== 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=qFu+C5dlbTkPWcTThBXFipioraIrhQKtxnaa0U+gSnU=; b=ZUeSkc6Oh96QNt6ItOR8D1pgmnA1kN1NzvUMd71QQ0SU5cKbKp58JgKhB7c71hggcR TEofwXGcIDc1Yf6ZI9/tEdPV8v1jRMj1cOQElyEKQUPULdEMiSaHTY39+pqzP90FY+gM DZymxYpjsIIu+u+ObsuaZbVhQqwfVuNHOZjgCNV+6ELV/KcX2dPHyYNLZcnQI7kQNRPh DRydtpVTiF4QNVsj1RrS4EyPwhZggL1uz1Gnv5rsEpC+gHZbh7ozAOiLtzjirnBH8jZy zscL7rIpdRzzFWJLNc2DyJMbARJSmTgwmU3RjeQHcTu2PVN5SKo8J+hSF3nxdBJzrJN1 G8Gw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d185si2563106pfa.182.2019.05.15.09.23.36; Wed, 15 May 2019 09:23:52 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726896AbfEOQWV (ORCPT + 99 others); Wed, 15 May 2019 12:22:21 -0400 Received: from mga01.intel.com ([192.55.52.88]:34513 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726667AbfEOQWU (ORCPT ); Wed, 15 May 2019 12:22:20 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 May 2019 09:22:19 -0700 X-ExtLoop1: 1 Received: from jacob-builder.jf.intel.com (HELO jacob-builder) ([10.7.199.155]) by fmsmga007.fm.intel.com with ESMTP; 15 May 2019 09:22:19 -0700 Date: Wed, 15 May 2019 09:25:13 -0700 From: Jacob Pan To: Jean-Philippe Brucker Cc: Auger Eric , "iommu@lists.linux-foundation.org" , LKML , Joerg Roedel , David Woodhouse , Alex Williamson , "Tian, Kevin" , Raj Ashok , Andriy Shevchenko , jacob.jun.pan@linux.intel.com Subject: Re: [PATCH v3 02/16] iommu: Introduce cache_invalidate API Message-ID: <20190515092513.3e4a2f77@jacob-builder> In-Reply-To: References: <1556922737-76313-1-git-send-email-jacob.jun.pan@linux.intel.com> <1556922737-76313-3-git-send-email-jacob.jun.pan@linux.intel.com> <44d5ba37-a9e9-cc7a-2a3a-d32b840afa29@arm.com> <7807afe9-efab-9f48-4ca0-2332a7a54950@redhat.com> <1a5a5fad-ed21-5c79-9a9e-ff21fadfb95f@arm.com> <1edd45e6-4da3-e393-36b2-9e63cd5f7607@redhat.com> <4094baf1-6cf5-a33b-4717-08ced0673c50@arm.com> <5d2c0279-7fa9-3d11-9999-583f9ed329ba@redhat.com> <20190514105509.7865ebc0@jacob-builder> Organization: OTC X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 May 2019 16:52:46 +0100 Jean-Philippe Brucker wrote: > On 14/05/2019 18:55, Jacob Pan wrote: > > Yes, I agree to replace the standalone __64 pasid with this struct. > > Looks more inline with address selective info., Just to double > > confirm the new struct. > > > > Jean, will you put this in your sva/api repo? > > Yes, I pushed it along with some documentation fixes (mainly getting > rid of scripts/kernel-doc warnings and outputting valid rst) > Just pulled, I am rebasing on top of this branch. If you could also include our api for bind guest pasid, then we have a complete set of common APIs in one place. https://lkml.org/lkml/2019/5/3/775 I just need to add a small tweak for supporting non-identity guest-host PASID mapping for the next version. > Thanks, > Jean [Jacob Pan]