Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1466531imn; Sun, 31 Jul 2022 08:04:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6tm03HytmDB4XGkoxIUaLOfJQeyVhkgH1PdE22nHV/OQrF6Xp/p7FnqeuYpdIPdQIJh839 X-Received: by 2002:a17:902:bd08:b0:16d:4230:cb45 with SMTP id p8-20020a170902bd0800b0016d4230cb45mr12649734pls.59.1659279888769; Sun, 31 Jul 2022 08:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659279888; cv=none; d=google.com; s=arc-20160816; b=ODy2cbPPeWRAzKtxI8RMNZw1I0R93P+gahK8Na2nr8caxDdM2CCULGtKT4aafSWIaD uAynNhcjUWpy8YHKg3amc5VOv7j4RqmujwoKD8gDS2+GXybJqU/r3pzsQMiC8RQ6S4Xi zKw1cyn1ADh5UvbJmtf9q+4n5irtPZEC17oH7BLmGFRGnMy129Vr9wHuTglSijymUTNy oIZ7r4vtgIzDh55WZxtl2C6XAL+y3jjS41XRnpUmBKSC9jpQG87dp+zMAZbv2w9fqoYg jiIFeiL5I389U7+jCEXETYT6yFbTe2C+pMQMno3x7Koac0ZmwAjtP69dfaf/PwpKrWcQ D8bQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:cc:user-agent:mime-version :date:message-id:dkim-signature; bh=yznlyd08zlKYNUItTd0A75mZcBtqBU3FyFZMVh5fxQk=; b=tBoYEUdoAjCw8xcszpULCQYspXkfZowHZkmnXKUnm0lzFMaLXg4SHI5UnKc9oM8BFR fW5YsBV0ne1AyLXMQxyWRLLJNwR0SoT1O5n35YyMmXiOBJKDfyTUTDs46Pu2B68NCJyx ZzhK0/h1m1UCDZs3OwvfWhjf7mH3i5wc3EjlH8zfuWjOl8ndqGsmQCL+jNCyiHAyTbqC S4CNnJxGIT0pgbyziBjU1ir05OCsWIVYBTfqPRd4LOFnGj+SMCnUdqStgAtIbu1tuI/P 5n27vasi8im2FVEf8FMcpjq/0ptxh9kmApFmP5D+tHQfU1eY+m9obnKvHLHuxtPfOb4a 6AJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GSHmNnKD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a170902d51200b0016a4a80a4a1si10723860plg.363.2022.07.31.08.04.19; Sun, 31 Jul 2022 08:04:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GSHmNnKD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232548AbiGaNpT (ORCPT + 99 others); Sun, 31 Jul 2022 09:45:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230436AbiGaNpR (ORCPT ); Sun, 31 Jul 2022 09:45:17 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA6E06151 for ; Sun, 31 Jul 2022 06:45:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659275116; x=1690811116; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=xNdwAlr0T5czk0DQzyHKqrvhr3p3s9DnZNkOQ3z8kb0=; b=GSHmNnKDOfQBw63ROq31HdZ1dATgWMfJvx4f2+QbtInAsk4s9I7gPVNA LcX4z4V4zaobZ/IE2Tffl2Yy2J8i5ihYhNZfHlKWlKFeUcwQttuwizxxa +aBzK1n9X8GTdbdlMzr667j+Impoii36QZnXQpuObc3oh5Y1ldca+yNsJ dOJpiG8eR/1ICYiVG60IZG4DTRAtX7asOr4ffmZIovS5cfjVi20uAkEkN ZFwJuzbhaab4I8tAqZjyaP8yPEXjovCsrw60YXNpaGGalskk5H0NUu8PC 2t3pa09RLVrz9tnZhRzjYjFXXS4gWOf8lsDZTmXJow6TfZjuPe/ywkpy+ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10425"; a="290203998" X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="290203998" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 06:45:16 -0700 X-IronPort-AV: E=Sophos;i="5.93,206,1654585200"; d="scan'208";a="629932115" Received: from blu2-mobl3.ccr.corp.intel.com (HELO [10.254.208.191]) ([10.254.208.191]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2022 06:45:11 -0700 Message-ID: Date: Sun, 31 Jul 2022 21:45:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cc: baolu.lu@linux.intel.com, Eric Auger , Jacob jun Pan , Zhangfei Gao , Zhu Tony , iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 08/12] iommu/sva: Refactoring iommu_sva_bind/unbind_device() Content-Language: en-US To: Yi Liu , Joerg Roedel , Jason Gunthorpe , Christoph Hellwig , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Jean-Philippe Brucker , Dave Jiang , Vinod Koul References: <20220705050710.2887204-1-baolu.lu@linux.intel.com> <20220705050710.2887204-9-baolu.lu@linux.intel.com> <7e9e61e0-bc8a-a757-a666-0a7828b7fde8@intel.com> From: Baolu Lu In-Reply-To: <7e9e61e0-bc8a-a757-a666-0a7828b7fde8@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/7/31 20:36, Yi Liu wrote: > On 2022/7/5 13:07, Lu Baolu wrote: >> The existing iommu SVA interfaces are implemented by calling the SVA >> specific iommu ops provided by the IOMMU drivers. There's no need for >> any SVA specific ops in iommu_ops vector anymore as we can achieve >> this through the generic attach/detach_dev_pasid domain ops. > > s/"attach/detach_dev_pasid"/"set/block_pasid_dev"/ Updated. By the way, as discussed, block_pasid_dev will be dropped since the next version. It's actually setting group's blocking domain. Best regards, baolu