Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5CBACC4338F for ; Wed, 25 Aug 2021 12:24:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4000F60F4A for ; Wed, 25 Aug 2021 12:24:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240826AbhHYMYt (ORCPT ); Wed, 25 Aug 2021 08:24:49 -0400 Received: from verein.lst.de ([213.95.11.211]:56007 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240593AbhHYMYs (ORCPT ); Wed, 25 Aug 2021 08:24:48 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id C38786736F; Wed, 25 Aug 2021 14:24:00 +0200 (CEST) Date: Wed, 25 Aug 2021 14:24:00 +0200 From: Christoph Hellwig To: Jason Gunthorpe Cc: Christoph Hellwig , Alex Williamson , Diana Craciun , Cornelia Huck , Kirti Wankhede , Eric Auger , kvm@vger.kernel.org Subject: Re: [PATCH 07/14] vfio: simplify iommu group allocation for mediated devices Message-ID: <20210825122400.GA16194@lst.de> References: <20210824144649.1488190-1-hch@lst.de> <20210824144649.1488190-8-hch@lst.de> <20210825001916.GN543798@ziepe.ca> <20210825053237.GB26806@lst.de> <20210825122144.GV543798@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210825122144.GV543798@ziepe.ca> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Wed, Aug 25, 2021 at 09:21:44AM -0300, Jason Gunthorpe wrote: > This feature is about creating a device that is not connected to a HW > IO page table (at least by the VFIO iommu code) but the IO page table > is held in software and accessed by the VFIO driver through the pin > API. > > virtual_iommu is somewhat overloaded with the idea of a vIOMMU created > by qemu and stuffed into a guest.. > > "domainless" might work but I also find it confusing that the iommu > code uses the word domain to refer to a HW IO page table :\ > > Maybe "sw io page table" ? Or simply emulated? At least looking at i915 there is very little direct connection to the actual hardware, and while I don't understand them fully the s390 driver look similar. And the samples are completely faked up anyway.