Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1728336iog; Sat, 25 Jun 2022 18:18:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t2yy1TCs1UvVDf61laY3C2XHLWYDnJwrauMMFAXjpA1bCpO2ZTVwYylgyfqLGhXRb2I030 X-Received: by 2002:aa7:8426:0:b0:525:23bf:1b78 with SMTP id q6-20020aa78426000000b0052523bf1b78mr6844750pfn.26.1656206332890; Sat, 25 Jun 2022 18:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656206332; cv=none; d=google.com; s=arc-20160816; b=h21CtzaPh8T575yWVMZyTfA7OD5rUMxL3Csxn4umQDp4jQzOfOGmJx3hH0EOsrHkFx eYEgWsdV2Mp6bRe2XtIw6tNC80mqLIZUAvXCZj4gr3ZqizCnsL7/Uo6zqBc+uOorOsDn zyqa7bnmmMNQREh6e9DZ4EepnvSrhzjr/wEYeyMlPzwNdtxD5LUHQhkrVQjhqL3FhYO6 25aHnaWjlfgbUAtqDcvKgLX0U8bR00KYLD/5INvznp4gm1xp/PbgIqtMZLn0m2A6f8Lj BRQMHmPUn9nXUc3/KD0Aqz7oB+RIm0+zJ7d81GPTCBIc2y6oWAvnAAA+upPjyZlDA9wF 7QWQ== 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=J7/CJpmai69ThqXvaE2APwEMLrasoQsHEwUz0UnuYXA=; b=JUnu0cbLGzUORK048bOs7tJNzJHQV5vA08O5VYmEzJhpmBObUVFXHXWuB4IlePe6NT kqY8RgyQwQTNfkEMX8tb33ORagiJbLlGoXUVcdySnbmUnigi5loJ2WBpdAhrPivImM5c dP1JWvtbvVJCPjsWbSpfjmbz3EfPbgvnW/JzKkjCV3XWnTdv6wciehfM/s+nffwp0lR+ nSGMBS+GquyFwZmHBR0bnST8/W6myMH4iKniRjTLgwYjvoC4pjYxlddXrN50aG5GW7TA EQEaEgQu8+VVBSJq7AVoqfOSvUxUgscF7SkwTOcmDX8TUU91YH0FtRTAnrXc+izVEGjZ cvNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HDjpzqj6; 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 j14-20020a170903024e00b0016641a8abcfsi10224215plh.549.2022.06.25.18.18.40; Sat, 25 Jun 2022 18:18:52 -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=HDjpzqj6; 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 S233727AbiFZBPu (ORCPT + 99 others); Sat, 25 Jun 2022 21:15:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233433AbiFZBPt (ORCPT ); Sat, 25 Jun 2022 21:15:49 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F5BA12AF3 for ; Sat, 25 Jun 2022 18:15:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656206148; x=1687742148; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=kWtrTWhVygy80koAHRds8cQZJGpxEZcR9U+1akiF+8M=; b=HDjpzqj6QANXn5GW+P1oUlevgdEiDrhRAhRSm5dCDGdPPIjm8ZyH3nb4 prwJsmHmMBaA+Fs6mRXbtiGJiOmvDwEtkmocsZnK3CxolkSQdZOGJeJve cEC7cffuySqETMpNJEFJNw3rx9AAr3s3NJSqu/p98Ny+aECpJaSU7Bamc lu6cVWGtrTu5ouYziWsUK2gO6duM8F5EFgkUklTqU3PXuGjMCelrFBYMU 6WR/kgxPewLbNMnii+dYhLZyQGYCqdFOQX7CxtFU/q3k5cmloyZ3TMHXd hry3iqLQ34vlnzqeDNsqoSOEb3UQsVFNTx7mYVHVkribnSchDWyTJ45f+ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10389"; a="261042498" X-IronPort-AV: E=Sophos;i="5.92,223,1650956400"; d="scan'208";a="261042498" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2022 18:15:48 -0700 X-IronPort-AV: E=Sophos;i="5.92,223,1650956400"; d="scan'208";a="645839129" Received: from jzhu26-mobl1.ccr.corp.intel.com (HELO [10.249.168.26]) ([10.249.168.26]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jun 2022 18:15:44 -0700 Message-ID: <068df2f5-1e14-8249-ac14-55864e6a4488@linux.intel.com> Date: Sun, 26 Jun 2022 09:15:42 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: baolu.lu@linux.intel.com, Eric Auger , Liu Yi L , Jacob jun Pan , iommu@lists.linux-foundation.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v9 00/11] iommu: SVA and IOPF refactoring Content-Language: en-US To: Joerg Roedel , Jason Gunthorpe , Christoph Hellwig , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Jean-Philippe Brucker , Dave Jiang , Vinod Koul References: <20220621144353.17547-1-baolu.lu@linux.intel.com> From: Baolu Lu In-Reply-To: <20220621144353.17547-1-baolu.lu@linux.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_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi folks, On 2022/6/21 22:43, Lu Baolu wrote: > Hi folks, > > The former part of this series refactors the IOMMU SVA code by assigning > an SVA type of iommu_domain to a shared virtual address and replacing > sva_bind/unbind iommu ops with set/block_dev_pasid domain ops. > > The latter part changes the existing I/O page fault handling framework > from only serving SVA to a generic one. Any driver or component could > handle the I/O page faults for its domain in its own way by installing > an I/O page fault handler. > > This series has been functionally tested on an x86 machine and compile > tested for all architectures. > > This series is also available on github: > [2]https://github.com/LuBaolu/intel-iommu/commits/iommu-sva-refactoring-v9 > > Please review and suggest. Just a gentle ping on this series. Do you have further inputs? I am trying to see if we can merge this series for v5.20. The drivers also depend on it to enable their kernel DMA with PASID. Sorry to disturb you. Best regards, baolu