Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp79845pxv; Wed, 30 Jun 2021 00:03:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2MAKxx7Y4CdYTwLgObhUKLXP6Jh5I9Nh8tobWN03hMqrcife0KeNmWkYMMPbOY5dhs3W1 X-Received: by 2002:a17:906:1982:: with SMTP id g2mr33841522ejd.184.1625036627314; Wed, 30 Jun 2021 00:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625036627; cv=none; d=google.com; s=arc-20160816; b=OS2tDRsk73ejHA4vboJ1aKJVNBYqRqrIR6OF1ESJwYhawcrl7a84jaSgFzDSl2le/k AY1QI1J3eP002mdQGs9gp8Dm4D+AxxM7q0xrj6SQkp83YXQmKcWsvnNf7AbeOysvRzdN VGWLmafj0/yduP8Uqg4Y58Rs+xqprlHSKbFEN0mU9ZJpZ6Lvmb7z4twR/UsIYwx4SXIk HpcjIoFHET5HGtBX0IvPZ58YLZbIr1aZyGa1PsH4lGCr3wqBO/pYgrKZgXEA2H28pFdF bKv0FyApxlIv+JAGNxh0fQJaV88VXwxom2N5+87pAkRXuICYEMxOem47SaxKyWHCxhgn bckg== 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=PoknwIAy8Q9q+U6w+2a12vknwq+F35xgmvor8JHbCT0=; b=XqgN3Gv+/Pk6hlTWXu+Lp7mWP29e0sBipJbWJr8yGnHW+VNNWVDV6xVgElMckJtP3C qM/C3MIEL9aVYXhel9rgg4/lK8X3xracEQ+YzDDYQ5tK2LHr55sQGTWcy29ZWgvvObH7 pbGa8CAsCCvR/lLdD4VeiUIKEfG984f9K/ifYOAV2lMx+K42BKqZPTjEHP81xSxfSfNz yl1Jea86JxrYfilOfw0m76MYsawsS/pu+iGa/xALoJqQtv4xKkvB36uJFKTTWz5IXjme pyCpZLeSLbMH3tYyFet+UmKu74ggkbMiAzbVvIJ1j+/bNjvHJZiTXcYVW7qQ/Yg9qBEk Vz9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=lhnHlNjm; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si8172031edx.38.2021.06.30.00.03.07; Wed, 30 Jun 2021 00:03:47 -0700 (PDT) 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=@infradead.org header.s=casper.20170209 header.b=lhnHlNjm; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232605AbhF3HEo (ORCPT + 99 others); Wed, 30 Jun 2021 03:04:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232426AbhF3HEn (ORCPT ); Wed, 30 Jun 2021 03:04:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FEC9C061766; Wed, 30 Jun 2021 00:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=PoknwIAy8Q9q+U6w+2a12vknwq+F35xgmvor8JHbCT0=; b=lhnHlNjmjExRd4kOidxPSUtHCF lThr4z+W8p4z9I5Y0rKEDt2xxMBs6nqRsTPYUcwm01rqZGiL6BhwMqG70F9eJyhIh5NUvA1BGqqng JVQ4sw5ouU8XKwWoMKDDo/2UQM4xLgLIsJobhS04QOf37hoyxdpTBlTWOa/xRlMM7SvDue9WSLdzw dXizTRiFfG3ZU8vVDW6II2yjz1FclnXukf/xHjRSJz4pjnPXinchMsgdHyLWM8lZv6s0EYUqr4/kq Uf8NR9mabxA6Qwpt1ElKsJdmFLdqvCWzrLZdJgwPFbYpSkA1aNI8jrMOE1cb4BVyBY4MLZo3/IEZb 8wWXiC1Q==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyUDz-005199-Qi; Wed, 30 Jun 2021 07:01:38 +0000 Date: Wed, 30 Jun 2021 08:01:31 +0100 From: Christoph Hellwig To: Jason Gunthorpe Cc: Paolo Bonzini , Jean-Philippe Brucker , "Tian, Kevin" , "Jiang, Dave" , "Raj, Ashok" , "kvm@vger.kernel.org" , Jonathan Corbet , David Woodhouse , Jason Wang , LKML , "iommu@lists.linux-foundation.org" , Alex Williamson , Kirti Wankhede , Robin Murphy , David Gibson Subject: Re: [RFC] /dev/ioasid uAPI proposal Message-ID: References: <2d1ad075-bec6-bfb9-ce71-ed873795e973@redhat.com> <20210607175926.GJ1002214@nvidia.com> <20210608131547.GE1002214@nvidia.com> <89d30977-119c-49f3-3bf6-d3f7104e07d8@redhat.com> <20210608124700.7b9aa5a6.alex.williamson@redhat.com> <20210609115759.GY1002214@nvidia.com> <086ca28f-42e5-a432-8bef-ac47a0a6df45@redhat.com> <20210609124742.GB1002214@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210609124742.GB1002214@nvidia.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 09, 2021 at 09:47:42AM -0300, Jason Gunthorpe wrote: > I can vaugely understand this rational for vfio, but not at all for > the platform's iommu driver, sorry. Agreed. More importantly the dependency is not for the platform iommu driver but just for the core iommu code, which is always built in if enabled.