From: Alexander Graf Subject: Re: [RFC PATCH 0/5] VFIO-NG group/device/iommu framework Date: Wed, 7 Sep 2011 13:58:14 +0200 Message-ID: <3B2BACC2-C445-4F32-8E21-19FD28FF2CDC@suse.de> References: <20110901194915.2391.97400.stgit@s20.home> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Cc: chrisw@sous-sol.org, aik@au1.ibm.com, pmac@au1.ibm.com, dwg@au1.ibm.com, joerg.roedel@amd.com, benve@cisco.com, aafabbri@cisco.com, B08248@freescale.com, B07421@freescale.com, avi@redhat.com, kvm@vger.kernel.org, qemu-devel@nongnu.org, iommu@lists.linux-foundation.org, linux-pci@vger.kernel.org To: Alex Williamson Return-path: In-Reply-To: <20110901194915.2391.97400.stgit@s20.home> Sender: linux-pci-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 01.09.2011, at 21:50, Alex Williamson wrote: > Trying to move beyond talking about how VFIO should work to > re-writing the code. This is pre-alpha, known broken, will > probably crash your system but it illustrates some of how > I see groups, devices, and iommus interacting. This is just > the framework, no code to actually support user space drivers > or device assignment yet. > > The iommu portions are still using the "FIXME" PCI specific > hooks. Once Joerg gets some buy-in on his bus specific iommu > patches, we can move to that. > > The group management is more complicated than I'd like and > you can get groups into a bad state by killing the test program > with devices/iommus open. The locking is overly simplistic. > But, it's a start. Please make constructive comments and > suggestions. Patches based on v3.0. Thanks, Looks pretty reasonable to me so far, but I guess we only know for sure once we have non-PCI implemented and working with this scheme as well. Btw I couldn't find the PCI BAR regions mmaps and general config space exposure. Where has that gone? Alex