Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6370460yba; Thu, 11 Apr 2019 18:43:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5YS/vbDyjWdU/TAzm82CaF9O7S0eU1U3eUjkYffmSYVtSvyqaZU2gBAZeQXP1KWOvRDP2 X-Received: by 2002:a63:fb4d:: with SMTP id w13mr24336213pgj.397.1555033422371; Thu, 11 Apr 2019 18:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555033422; cv=none; d=google.com; s=arc-20160816; b=dVwUgJfyoz5fOzWksBf5jt9Vb9XsxwrRjbhSovYQyLOripcpTNiID/Litbfs6tWHgl QKZ9s0qqXemrziuhR3fP3YR4hcPIYSldK7Uh26v65fEtn3tYB48pRJ3KlrMcLt9ZNFFY +qdx2egX1M1LoolKywyAjO2CQfAw5Qc3qRkGHB9M7rXvRXeOdiqR24jVR2ETLFQZvoVq BHVb6OnpGtXpdNG/+OYTEC0T0Bzw+7qwfHstFpcVE2JRvLoO2Znak6eESghXBBEvqxdd bcoF9H99ATKGa9YoMDHHCozAkM2nfeVSsn2zMaMIthqY8MDPBCiIf7lQRucfHyy1UGpK KJ8A== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:cc; bh=YYE9/hNC0+eB8VOUAzMXvnpdhp/A30FnOFOml+ZxOJg=; b=h0/xyVTZRwW0/HPWa5G+sfKZqCskKkd0gt/x/xNE1nSG3rr+r3XPDrgNvf48UNs+7k ehB6H5Rw0a77RhjZ81fvnl3FKoqGVqbsqi0nAZW6b96mETAIivAweSXlhv4rCbHlenhM WChZLGeqVPYSTrINTstYpw5avdklzj0UeYuGjXLlT7Sh5ZMZDUY7yXS+Lny9jbTGf9Hg 3daV+ffRTuJIV4rEDvNw7fgoc3SfWjb7TnHDzQ2He6HKp2p0/tV2q9P2fuIMLHqrK+SD cFJq5NUHflQEGV9/A71P6WQf9NTBikG3zUQt9u9ci7QGgvpdDrOyFf05Ta65D/9SlLfQ oPyg== 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 p6si1606211plo.185.2019.04.11.18.43.25; Thu, 11 Apr 2019 18:43:42 -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 S1726731AbfDLBmu (ORCPT + 99 others); Thu, 11 Apr 2019 21:42:50 -0400 Received: from mga03.intel.com ([134.134.136.65]:35885 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726661AbfDLBmt (ORCPT ); Thu, 11 Apr 2019 21:42:49 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Apr 2019 18:42:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,339,1549958400"; d="scan'208";a="130677578" Received: from allen-box.sh.intel.com (HELO [10.239.159.136]) ([10.239.159.136]) by orsmga007.jf.intel.com with ESMTP; 11 Apr 2019 18:42:45 -0700 Cc: baolu.lu@linux.intel.com, David Woodhouse , Alex Williamson , Kirti Wankhede , ashok.raj@intel.com, sanjay.k.kumar@intel.com, jacob.jun.pan@intel.com, kevin.tian@intel.com, Jean-Philippe Brucker , yi.l.liu@intel.com, yi.y.sun@intel.com, peterx@redhat.com, tiwei.bie@intel.com, xin.zeng@intel.com, iommu@lists.linux-foundation.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 0/9] vfio/mdev: IOMMU aware mediated device To: Joerg Roedel References: <20190325013036.18400-1-baolu.lu@linux.intel.com> <20190411151917.GA29810@8bytes.org> From: Lu Baolu Message-ID: <0beedc65-fc26-5f17-6f0f-6e0c0aa022a3@linux.intel.com> Date: Fri, 12 Apr 2019 09:36:49 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190411151917.GA29810@8bytes.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joerg, On 4/11/19 11:19 PM, Joerg Roedel wrote: > Hi Lu Baolu, > > thanks for these patches! > > On Mon, Mar 25, 2019 at 09:30:27AM +0800, Lu Baolu wrote: >> Lu Baolu (9): >> iommu: Add APIs for multiple domains per device >> iommu/vt-d: Make intel_iommu_enable_pasid() more generic >> iommu/vt-d: Add per-device IOMMU feature ops entries >> iommu/vt-d: Move common code out of iommu_attch_device() >> iommu/vt-d: Aux-domain specific domain attach/detach >> iommu/vt-d: Return ID associated with an auxiliary domain > > I applied the patches above to my tree. The first patch is in a new > branch called 'api-features' and the other are in the x86/vt-d branch. Thank you! > >> vfio/mdev: Add iommu related member in mdev_device >> vfio/type1: Add domain at(de)taching group helpers >> vfio/type1: Handle different mdev isolation type > > Can you please address the minor concern on these patches, add all > review and acks and re-send? Sure. I will resend these soon. > > Thanks, > > Joerg Best regards, Lu Baolu