Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3996157pxb; Tue, 25 Jan 2022 00:59:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJxN55G/Ra/pDVy9rzPP21fxD8e5NDZszUfHHBkX/UYT7+sYOl0hWRv7TJoIMMjDrIG2dd9b X-Received: by 2002:a05:6a00:1a86:b0:4c1:3039:16a6 with SMTP id e6-20020a056a001a8600b004c1303916a6mr17355813pfv.5.1643101147175; Tue, 25 Jan 2022 00:59:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643101147; cv=none; d=google.com; s=arc-20160816; b=ydbok1XzkDDIiHhlIMoLFmMW/6L3fR8DX9mALr6dunPz6pinGndNW/kalTV3PzUsGo 89/JWn/RUaQ7pDoBERgYC1yiwSb8sqOI7TIZRAUbfWPbzY9sPKuUDN5Z8vt5zAA/zoM5 pSp87Ef0awc59snZs6+0/+px8iHKh9CghTkfHSuBNps+M0ZF0vXmu0YQiaGm+OjPtYvT 6OdAZoKO4DfGoAwwYfGOUxs697QIzWb7j/l+JunIhFEns16B4uVp1HGyJ8sw+OBmzBFU GAVNPbTVzOvwvP3czi47JOlYQdr80c0+ZCUJYJAIRZghbDVZi5HT0bXciGLmM0TBA2dx 8+ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:cc:dkim-signature; bh=y/wy9Ejprx4ZE64dIiViF8KnzRrsHZRtFGIR0aca4Fg=; b=Uq7xVyBkg7UnQki9rG+u9W/2gKa0cp3RERpjiXHTwI4excB13I7SPavMGaA/dHg5+v Y9haxvAHxQoYrLh2YJ5RpIGPOTnaM01cKPXbn1qinOPnn30+7UpPmd0wW19OeugWmCl/ ldX27JsdrrXl9tr5KDqhW7Z1DD1tpJycvzryMTVxjpTqacmXqaFhKadVjKNeVUbS1de9 U0qQaiIWnDuekn7N1XEiDweVMLlJwpbTVA3HfjEt+BPQRleFA/n2Q20l01XDN7SkgFXH fIFDgQgGL8fy6JmbAtBASoB3ENC7yl0mcnmdSd3eSFkYSrDFhIfI5ZNCeO9To7+8t/hk lUiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T7CiCInR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t20si15385950pgm.574.2022.01.25.00.58.55; Tue, 25 Jan 2022 00:59:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T7CiCInR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S244594AbiAYGTn (ORCPT + 99 others); Tue, 25 Jan 2022 01:19:43 -0500 Received: from mga12.intel.com ([192.55.52.136]:19009 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1391793AbiAYFKj (ORCPT ); Tue, 25 Jan 2022 00:10:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643087439; x=1674623439; h=cc:subject:to:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=V9CYJ2kCUBsupqpOKFqBBwFqKIJsJUlTvgIb6c/puoE=; b=T7CiCInR6GEr1rc7oRsrGhQTgZGmqXUbbgK22Faz7/PYWgcNbIsxj0eV JrkD34/An/jqzKaIR3LX3YU1Swm5CyFjdTwoK5zgLkh48HuRL8l6u2Sx1 +7dCi5jT+YnV58pl21+Cs2GZCRpQHdyvZPos/A8hmJkucaUkQ1YRg3+a9 LWVultPjdpkJ5Xba9PG61XKzLz/MDaycRJQIbWy5wP1YQ5Z7ODQV1qjnm JE2tjuGeQFEPdIN7GuNjIrJkIN9XAha5nPp3jTmc6fVBRf6jy51LFtALk M1rq/JjlWBMT2Q3L8ewabqYpZVRs3Ix8lj1GnYZZUvY/9jI8CZ/eagVFe A==; X-IronPort-AV: E=McAfee;i="6200,9189,10237"; a="226198648" X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="226198648" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2022 21:05:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,314,1635231600"; d="scan'208";a="534564947" Received: from allen-box.sh.intel.com (HELO [10.239.159.118]) ([10.239.159.118]) by orsmga008.jf.intel.com with ESMTP; 24 Jan 2022 21:05:43 -0800 Cc: baolu.lu@linux.intel.com, Joerg Roedel , Christoph Hellwig , Ben Skeggs , Kevin Tian , Ashok Raj , Will Deacon , Robin Murphy , Alex Williamson , Eric Auger , Liu Yi L , Jacob jun Pan , David Airlie , Daniel Vetter , Thierry Reding , Jonathan Hunter , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 7/7] iommu: Add iommu_domain::domain_ops To: Jason Gunthorpe References: <20220124071103.2097118-1-baolu.lu@linux.intel.com> <20220124071103.2097118-8-baolu.lu@linux.intel.com> <20220124175542.GA987164@nvidia.com> From: Lu Baolu Message-ID: <6fd81c95-6fd6-d678-b7df-f2f747e2b10c@linux.intel.com> Date: Tue, 25 Jan 2022 13:04:43 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220124175542.GA987164@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/25/22 1:55 AM, Jason Gunthorpe wrote: > On Mon, Jan 24, 2022 at 03:11:02PM +0800, Lu Baolu wrote: >> - int (*enable_nesting)(struct iommu_domain *domain); > > > Lu, there is an implementation in the Intel driver here, is it usable > at all? It's useless and I have cleaned it up in this series. > > Jason > Best regards, baolu