Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2127438rdb; Thu, 7 Dec 2023 21:16:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUk1LqUfL43KosB8l4zzQvnRVDjwQqXb5OP7lMJ0X1mK7OlwUX9cPOfILj5TnGL4Mcvnev X-Received: by 2002:a05:6a20:8418:b0:18f:354f:58c1 with SMTP id c24-20020a056a20841800b0018f354f58c1mr514331pzd.10.1702012573611; Thu, 07 Dec 2023 21:16:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702012573; cv=none; d=google.com; s=arc-20160816; b=gszutL+8zXBKblXQslfwadAHU2Umf5ILGFFiui7yV2/ux8p55045R8NkpryG3hOMIO wFCdB3MBxmW+2dBJv38hQxYi88EYuWn2oNpEBQ7bqIvc2UsUaEtWt7rkMD/aXMJZv55W F2UQIuHCuc0vbbbJ7ee5fdqj0kSGcuIgylwePVMZs0H+eYL1Ay5NfHDSV6Io9l5ldT36 OPvPrfUw5L+8iHpL5RYpGRfifDIW91GXohlk3XS+7BggklJr9iTssirxvviQvxstmKU+ PLp02l9ef+OtsOiWQ0bZcA9p1F5HNICMKmQz4YbzFA4ci6B0V34lZR1lxU9gH+38ocIK AOWA== 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=eMqZIBfmXsW4JIGVz2VpEyeyCc8OAVvggzWL9Lorv+E=; fh=OkF6S09j8WK4kxzqBUja+S21J8uC+ALiXRrhVvP2Uak=; b=c6aNzfDMfczZBmWn14wjndmDvO/CpTjS6w1LW1Cns7IdtY1e53/butBJhqlbC10z4R LUPZ/ZYr/b2L1Pql7tZbvw20QRfwfUT34bQiRWEgu0oOMoSlQr6glYVnEanI0xxTtUWV 60Ri0qmlHAyslAZZenq1PTNrBEfaBBnymatRRcT2SDH8Yqwqo36GJbNeg1FBIjzvj8Ie x8vwNBY/hYaXoyU4eDEcKfrzkrL+8bIiSwLgh0+4Sq1dOfFLfUfuyZUqfJV8D8CtkONb cKx4VKYNvnL2/FwH42s1fx4KWHLmmlvo2BsUknaPCL6lAacVdNylgtT8ToTVYTxX1tiw twVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KHqW05BF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id e6-20020a654786000000b005c6650f66b5si876759pgs.267.2023.12.07.21.16.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 21:16:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KHqW05BF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 35BFF8076175; Thu, 7 Dec 2023 21:15:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232268AbjLHFOx (ORCPT + 99 others); Fri, 8 Dec 2023 00:14:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjLHFOv (ORCPT ); Fri, 8 Dec 2023 00:14:51 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44C0C10D8; Thu, 7 Dec 2023 21:14:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702012498; x=1733548498; h=message-id:date:mime-version:cc:subject:to:references: from:in-reply-to:content-transfer-encoding; bh=eMqZIBfmXsW4JIGVz2VpEyeyCc8OAVvggzWL9Lorv+E=; b=KHqW05BFCOsrKdTN0f28nOoNf0Ekp5GLHowo324aWo/3rVQnzUm7FkGK LLPte9FZP04ZqtRIrQuguESpWyilpvlo8hMPCOZm/lA0DMPfFLPi2Ac1w IlE6OE7l8q8gxGpFa/zic3lyemFmBVjHktR+BZkIYRoJHFoMq2g82TY8C tXaD1UMAOj1btoxmSMVFfMdoPPgobtnCUm9vX96SnzPpcrOM8Alqoldou i/2ICWFS3u21Ogy4fxgAKJn8aVM0mfaBfY6i2OfKrPxIV3ebsh/IG5JR6 cdwMHgsIo3fIKLKxSK+kUiXVqPcKHXOKgJuUW/XMKu8pow+W3tIBLZpM7 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="480554314" X-IronPort-AV: E=Sophos;i="6.04,259,1695711600"; d="scan'208";a="480554314" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Dec 2023 21:14:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10917"; a="775684230" X-IronPort-AV: E=Sophos;i="6.04,259,1695711600"; d="scan'208";a="775684230" Received: from allen-box.sh.intel.com (HELO [10.239.159.127]) ([10.239.159.127]) by fmsmga007.fm.intel.com with ESMTP; 07 Dec 2023 21:14:54 -0800 Message-ID: <8d29c6fb-0928-4c11-a9af-02647597cb4e@linux.intel.com> Date: Fri, 8 Dec 2023 13:10:17 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: baolu.lu@linux.intel.com, Jason Gunthorpe , Kevin Tian , Joerg Roedel , Will Deacon , Robin Murphy , Jean-Philippe Brucker , Nicolin Chen , Yi Liu , Jacob Pan , iommu@lists.linux.dev, linux-kselftest@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space Content-Language: en-US To: Joel Granados References: <20231026024930.382898-1-baolu.lu@linux.intel.com> <20231204150744.db3hfpq4v55cuavn@localhost> From: Baolu Lu In-Reply-To: <20231204150744.db3hfpq4v55cuavn@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 21:15:17 -0800 (PST) On 12/4/23 11:07 PM, Joel Granados wrote: > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: >> Hi folks, >> >> This series implements the functionality of delivering IO page faults to >> user space through the IOMMUFD framework for nested translation. Nested > Does this mean the IOPF_CAPABLE HWPT needs to be parented by a HWPT > created with IOMMU_HWPT_ALLOC_NEST_PARENT set? No. It's generic, nested translation is simply a use case that is currently feasible. Best regards, baolu