Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2786664rdb; Mon, 4 Dec 2023 07:32:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IGejXS6tnYsvfWpVYF/sk/lVYTHEf3wsG+nX7vOdcwjiICWgq9lk+mqXuZWiHR09kinPvSK X-Received: by 2002:a17:90a:fb4a:b0:286:6cc1:8670 with SMTP id iq10-20020a17090afb4a00b002866cc18670mr2074966pjb.85.1701703943325; Mon, 04 Dec 2023 07:32:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701703943; cv=none; d=google.com; s=arc-20160816; b=EszSv0iD/LV0mrQZ9QTyew83g6gH2qA2QMlYOemG9cbgL0yEZR7mdLXnPhGR+OOXCn 1FwLQhjJEWVlOZudvCsZSRorMYoDuqD6YwhiEj8jA1Ep/tmTJcsQg5+MQDxsaU9p41XA 3PptfTNXwvv85mbAlGgVKL3iNFnHYYyuirZXdM2W0rAyzFBzyZo/N9UNZN5AoWFXVLRE sSokFVwnY9fl5BQRlwW/S1sKv7cs0D8XZ7ckVucOwxWO4heJM8DSKflskALe0ATVsWj9 tSGBqknBRjbodTN0XJ3vDbZTP+OcKsKAAio0i8ms7NrBeASQqk3u8Y2TgNH1g+zGBeub PjxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QNErOhF1qMkgPNVpHAnyVSyCwAUX/1YSBmZDFvsm8OU=; fh=NuHGqPx0K4a3htKamoquVTOsI6/M5BcsrgBBHzYe5gU=; b=AzoIIqxEnI7d67k60b2jB9LpnLf15vgVa+g8EJVdhkVdt76XP9y/8pYXYZkJB2eh5l 1QAXtB2+qC9gm38BCLp3ILIhmkTcpmxa5YFZX7swzwVIKshCuCU858DLYQ7DoRs5jPJq PfzLX7Jvaw4kShBVgH3JLnxGybXDVGDDILZvu3i2YkfXvlFdtwTJFnYsLWGqDDDdAN1/ TqTr3lXccoDnwYHrllSeA4LyO1QMgPRjohCT82PdqeDuXqrexDM/5eIA6j+PpDRnazy7 YOdm5JrbqW5Yw+jx9hpB7iucbqtK6hSnyWvpC3UVtVoaukFVRPQGacelz4/IWCgeW0D6 0GoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=altJvCMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id nl9-20020a17090b384900b002869bbe240asi2554814pjb.8.2023.12.04.07.32.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:32:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=altJvCMF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 053E28075EF5; Mon, 4 Dec 2023 07:32:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234622AbjLDPcG (ORCPT + 99 others); Mon, 4 Dec 2023 10:32:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231328AbjLDPcF (ORCPT ); Mon, 4 Dec 2023 10:32:05 -0500 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A715DA5 for ; Mon, 4 Dec 2023 07:32:11 -0800 (PST) Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-4254ad7b967so16858591cf.0 for ; Mon, 04 Dec 2023 07:32:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1701703931; x=1702308731; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=QNErOhF1qMkgPNVpHAnyVSyCwAUX/1YSBmZDFvsm8OU=; b=altJvCMFqLnz0th385qoKkCef9KpcoT97a66K2T11evxL+qQgeN04sZF2sJciPhIxa MTCpLAlzXQ/Et3m8eJlcuazUcWUcPNwH0ennEkeVk1j/pe55zuDf4BAdLOYazfOsm/ul 6jWn5e7ZlaEMc+SMDee03zgbkmhj7ScXWJj83JUVDYdKDCHtDxCdzZBFbB061egcWZT1 qlYYWu+paNhGEAf6akyznZHBoEUZgESyjTDVFcJYgBtmRDRCBjy9/DLfwjCpeZZKTPT6 OOxQOSIzAcCJOINEVcKdvFNrhOLXwom8QBrCJ3e8yNm8jfNxfqC+SGJ4O+Dc00TtsKnK 6VRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701703931; x=1702308731; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QNErOhF1qMkgPNVpHAnyVSyCwAUX/1YSBmZDFvsm8OU=; b=A8UH6sUrRjeestY7N2YPw10DHct3fzWRqtYAy3aVZN0yOhIapM+8EK1G1mmO0oH5rs 9fNDdxA/qzr6Da4vyaGCSxufSYKuHhR4aArVSoE/de6ygvDmHJHzJuKvA7KIhvT+D85b NV1NsiW0z6fPV65n0jcfinndhCT2oEQubDae2jzxXdf1a/a9mu90UgjPomScUJDXBNxb oKODDnTJyL25AgODqOIrKQs0qYNYHwG0d5w3YLsuhJsXNWD2Wkv8qvdXlRLglKuvMYCE NVSFfFN/6ahc3Z/5N6oXMv29BTUINIdb17jkEn/jdEXuMLJCVicLQbrZvuF6is3A0rcL hePA== X-Gm-Message-State: AOJu0YwxOXOlaf64K/6wABv84Xaw9f6ctEve5GWWp4h6t1xzpFD5Eanu HwGFxrowDYaT47Hn4G/VIuk3UQ== X-Received: by 2002:a05:622a:1c8:b0:425:4043:96e2 with SMTP id t8-20020a05622a01c800b00425404396e2mr6614490qtw.111.1701703930810; Mon, 04 Dec 2023 07:32:10 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-134-23-187.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.134.23.187]) by smtp.gmail.com with ESMTPSA id df15-20020a05622a0ecf00b00423da75b0f4sm4371928qtb.71.2023.12.04.07.32.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 07:32:10 -0800 (PST) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1rAAvZ-00B2r2-ML; Mon, 04 Dec 2023 11:32:09 -0400 Date: Mon, 4 Dec 2023 11:32:09 -0400 From: Jason Gunthorpe To: Joel Granados Cc: Lu Baolu , 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 Message-ID: <20231204153209.GN1489931@ziepe.ca> References: <20231026024930.382898-1-baolu.lu@linux.intel.com> <20231204150744.db3hfpq4v55cuavn@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204150744.db3hfpq4v55cuavn@localhost> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 07:32:21 -0800 (PST) On Mon, Dec 04, 2023 at 04:07:44PM +0100, 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? I would expect no. Both a nested and un-nested configuration should work. Jason